Hot answers tagged

4 votes

Forcing NonLinearModelFit to be positive

nlmf = NonlinearModelFit[mydata, {c x + a x^2, c >= 0}, {a, c}, x] This constraint $c \ge 0$ comes from analyzing the derivative of the model: $df/dx = c + 2 a ...
  • 9,243
2 votes

Plotting natural log equation in 3D plane

...
  • 12.3k
1 vote

Plotting natural log equation in 3D plane

Perhaps, you meant something like this? One can grab and rotate the image to the desired viewpoint. From what you said, I guess that you wanted the $y$ axis to be vertical. I selected and assigned a ...
  • 600
1 vote

How to speedup calling the interpolation function?

Try purefunctionas Interpolation object ...

Only top scored, non community-wiki answers of a minimum length are eligible