Message Boards Message Boards

2 Replies
1 Total Likes
View groups...
Share this post:

Using the output on ParametricNDSolve in a Piecewise function

2 Replies

ParametricNDSolve is basically the setup part of NDSolve, for use when you want to numerically solve similar differential equations multiple times and they only differ in terms of certain parameters. To get a solution from it, you have to specify the values of the parameters, as NDSolve is a numerical algorithm. It's not like DSolve, which can keep parameters as symbols. You're not providing the values of the parameters.

POSTED BY: Frank Kampas

Thanks - that's a pain! I was hoping to use nonlinearmodelfit for the parameters {kme,kmn,j,eo} between known limits. The fact that the function is different before and after the boundary rn is complicating my attempts to do so, which is why I was trying to use Piecewise. Is there a clever way around this issue?

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract