6,334 reputation
11543
bio website
location
age
visits member for 2 years, 6 months
seen 30 mins ago

Jul
15
comment Does FindFit support complex numbers or doesn't it?
@seismatica, halirutan: NormFunction -> (Re[#].Re[#] + Im[#].Im[#] &) seems to work better.
Jul
15
comment Does FindFit support complex numbers or doesn't it?
@Alexey: Ah, thanks for the link. I hadn't looked at that question carefully before; it does look like a duplicate. Although none of the answers there have realized why FindFit works in some cases but not in others, as Jens's answer here explains.
Jul
15
accepted Does FindFit support complex numbers or doesn't it?
Jul
15
comment Does FindFit support complex numbers or doesn't it?
The strangeness is that FindFit can determine the appropriate norm function in some cases but not in others.
Jul
15
asked Does FindFit support complex numbers or doesn't it?
Jul
15
comment How to make a discretized NMinimize more precise
The first thing I'd try is to increase MaxIterations.
Jul
14
revised How to find valleys of data using new function in V10 PeakDetect
edited tags
Jul
13
comment How can I modify the interval of the function Image[]?
Rescale[..., {-1, 1}] doesn't work for you?
Jul
13
comment How to construct a polyhedron from its vertex graph?
Slightly off-topic, but can you verify whether this sentence of the Wikipedia article is incorrect? "For a Tutte embedding, assigning attractive forces of equal magnitudes to all edges makes the forces cancel at all interior vertices..." But for the vertex to be the barycenter of its neighbours, the forces have to have magnitude proportional to the length of each edge instead.
Jul
12
comment Backsubstituting solution into FindRoot and Plot
Perhaps this should be a new question?
Jul
12
revised Backsubstituting solution into FindRoot and Plot
put the plots back
Jul
12
comment 3D Plot from 3 Polynomial Equations
You can do sol0 = Solve[f0[λ0, y0, y1, x, k] == 0, λ0] and sol0 = Solve[f0[λ0, y0, y1, x, k] == 0, λ0] to find the values of $λ_0$ and $λ_1$ that satisfy $f_0 = 0$ and $f_1 = 0$ respectively. Then substitute them into $f_2$ via sol2 = f2[λ0, λ1, x, k] /. sol0 /. sol1 // Flatten to get something that only depends on $x$, $k$, $y_0$, and $y_1$. However, there are apparently eight different solutions each to $f_0 = 0$ and $f_1 = 0$, so you'll end up with 64 possible values of $f_2$.
Jul
12
comment Why does FindFit seem to have trouble fitting exponential data?
Is the only difference between FindFit and NonlinearModelFit the fact that the latter provides more statistical information, or is there anything deeper than that?
Jul
12
comment Why does FindFit seem to have trouble fitting exponential data?
Try providing a reasonable initial guess: fit = FindFit[data, model, {{a, Last@Mean[data]}, {k, 1/First@Mean[data]}}, t]
Jul
12
comment Different colors when comparing Plot3D V9 and V10
Since this is the canonical solution, I'll delete my answer and leave this here: the previous default lighting settings.
Jul
12
comment Different colors when comparing Plot3D V9 and V10
Well, if you compare the first three images on the documentation page "Change the Lighting of Plots", which are supposed to look the same (and did in previous versions), it is clear that the default lighting has changed.
Jul
12
comment Different colors when comparing Plot3D V9 and V10
Ah! This is the better solution!
Jul
11
comment ParametricPlot - Problem with ColorFunction
I meant the tendency of some people to start accusing everyone who comments "Are you the downvoter?" "Are you the downvoter?". Often if someone reveals that they downvoted, the OP then goes and downvotes or leaves negative comments on their other unrelated posts. I'm not suggesting you would do that, I'm simply saying that one should not be expected to reveal one's votes, and asking whether one has downvoted should be considered an intrusive question.
Jul
11
comment ParametricPlot - Problem with ColorFunction
If you don't care then why call them a coward and ask for a reason?
Jul
11
comment ParametricPlot - Problem with ColorFunction
ColorFunction -> (ColorData["DarkRainbow"][Abs[2 #3 - 1]] &)