10,041 reputation
1745
bio website
location
age
visits member for 2 years, 10 months
seen 6 hours ago

2d
comment Writing a conventional free-standing application in Mathematica (CDF)
@MathLind: I've seen your edit, I think that storing in a DynamiModule variables should provide what you are looking for, there is no need for a Enterprize version for that...
Nov
22
comment Applying LinearModelFit[] to data obtained with WeatherData[]
I think you should tell us for which version you need this to work. The problem is that the format of the return value of WeatherData has changed from version 9 to version 10 and both are not valid input for LinearModelFit. Belisarius answer shows how to solve the problem for version 9, but you'd need a different approach for version 10.
Nov
22
comment C# Tree view similar
@timoftebogdan I think if you search for people to help you you should show at least a minimal amount of politeness and the effort to read what these people write. I have explicitly mentioned that it does not look like the the windows treeview and that I think that it would be very much effort to make it look like that. As it does provide the basic functionality I personaly (and probably other readers) think it is far from useless. If you need it to look exactly like the windows TreeView the answer is probably as short as "not possible" (also already contained in my answer).
Nov
22
comment Set Options on a system function has effect on all notebooks
I think that problem is one reason why it is recommended to have one post per question. Another reason is that it will be easier to find the questions and answers and that probably is the main purpose of the site. Never mind about accepting my answer in this case, though. I'm happy if you accept the answer which solves the first of your questions.
Nov
21
comment File Handling. How to save the progress in a file?
this is especially useful in combination with ExportString for text like formats where you can append line by line, e.g. CSV.
Nov
2
comment SetDelayed::write is Protected error on Linux not PC
just checked with 10.0.0, there is also a protected system Merge there...
Nov
2
comment SetDelayed::write is Protected error on Linux not PC
Are you sure that both computers run version 10.0.1? Since version 10.0.1 (can't test 10.0.0 at the moment) there is a system symbol Merge and of course that is protected which does explain the message you see. In earlier versions there was no such symbol and thus no problem. Can you verify which version you are using and whether both of them know the system symbol? To make the package compatible with versions > 10.0.1 the author must rename that function...
Sep
27
comment Mathematica integration failure - new or old?
@IgorRivin: there is WRI personal participating on this site, but I don't think they officially speak/act for WRI here and there most probably is not a well defined automatic process to create a bug report from errors reported to this site. So it does always make sense to report the bug to their support. It might even help to increase priority if it is sent more than once from different sources :-)
Sep
27
comment Smoothing a single rectangular pulse in NDSolve
how about the sum of two Tanh? I think the proper parametrization (how steep you make them) needs some information about your problem...
Sep
27
comment Save associations to a file and reload
thanks, that's very useful, wouldn't hav had "ExpressionList" on my mind. You might want to add that that problem hasn't anything to do with the fact that the OP is saving associations, he'd have had the very same problem with PutAppend lists or even just numbers...
Sep
27
comment A femme is a wife is a Frau
@eldo: you probably have noticed it by now, but the point is that you don't have to "find" that form for a given WA call but just click on the small + icon in the "pod cell" of your choice and select the "computable data" entry. That will insert a new input cell with exatly that arcane code. That's explained also in one of the ansers (currently that is the last one) to the questions kguler refered to...
Sep
17
comment Second order differential equation
... so you probably are best off to try what your professor suggested (another wellknown method to approach such problems). I would also think that it might be worth to rethink what problem that equation originated from and probably understand whether that singularity has a meaning in that context. Maybe you then can reformulate the problem in a way that is less problematic for numeric solvers...
Sep
17
comment Second order differential equation
@Marco: when you change eps you solve a different problem: if eps is > 0.75567 the solution to your problem will have w'[x]<0 for 0.75567 < x < 1 and there is no problem with the singularity. If eps gets about 0.75567, then the solution (at least the one Mathematica finds/tries with the shooting methods) will have w'[1]==0 and hits the singularity. It could be that there are other solutions which the shooting method as implemented in Mathematica just doesn't find (or you have to give it an initial guess). I don't think this will work here...
Sep
16
comment Second order differential equation
@xzczd: I absolutely aggree that one shouldn't trust results of numeric algorithms in such situations (known potential singularities) blindly, and I have admittedly not made any tests about the quality of what NDSolve returns (and yes, only v10 will return a result at all). In this case I have also seen what you have seen, but I think that is because the current formulation is suboptimal in how it handles the eps parameter. I will update to show a more reliable way...
Sep
14
comment Why I can not get the plot when I use NDSolve`ProcessSolutions?
I have added some more variants to extract the solutions and some explanations. For these I'm making use of some slightly "advanced" features of Mathematicas pattern matching functionality, but as pattern matching is the very core of Mathematica it might be a good idea to learn at least some of it if you want to make good use of Mathematica...
Sep
13
comment How do I plot x[t] vs. x'[t] (where x[t] and x'[t] are solutions to NDSolve)?
I just have edited (just) the formatting of your answer, because to me it looks like a very good solution to the question. One thing you might want to change is the naming of the variables which hold the solution, it usually is recommended to not use variable names which start with uppercase letters to stay out of conflicts with internal symbols.
Sep
13
comment Parallel computation of a system of differential equation
@GregoryRut: I see, that is of course a difference that I didn't have in mind: if you reinitialize you'll loose previous points, if you don't ProcessSolution will do the interpolation. I can't remember exactly but I think in older versions there was no way to get avoid the interpolation but in newer version it might be possible to extract results from StateData without building the full interpolation (or maybe it was just planned?) and continue without reinitialization. Anyway, fortunately there are also these other possibilities that I did mention...
Sep
12
comment Parallel computation of a system of differential equation
@GregoryRut: Why do you think the answer given there was not a solution? I think it basically does what was asked for and also what you are intersted in: run NDSolve and only store the solutions at some points, you could of course also only store at one point, the end point. Neverthless you might find the additional answer that I just posted for that question also of interest, it gives a solution which is somewhat simpler if you really only are interested in the final value.
Sep
11
comment Save output of NDSolve to a file
Have you seen this question?
Jul
30
comment TimeConstrained for Table?
it probably would better to create an extra question for such a followup. But in this case I'm sure that you would create a duplicate as that has been answered before. You might search for SyntaxInformation. This should roughly do what you want: SyntaxInformation[TimeConstrainedTable] = {"LocalVariables" -> {"Table", {2, Infinity}},"ArgumentsPattern" -> {_, {_, _, _., _.} .., _}}