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 Comments

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.

Answers (0)

This question is closed.

Asked:

on 11 Oct 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!