Problem in using the ode solver

Hi,
I am working on the ode 45 solver to solve system of ode's. In fact, the system is dependent on how many subdivision 'nx' I want to discretize the domain. I tried specific numbers of subdivisions by defining them separately in the M- file and the handle function. I tried to use a choice input 'nx' from the user to pass it to the function but an error occurs. Can any one help me to deal with this case, since I want to generalize the script to any input choice of subdivisions.

2 个评论

Can any one help me with this case
Would it be possible to provide some code so I could get a better idea of what you're trying to do? Thanks in advance.

回答(0 个)

此问题已关闭。

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by