Define initial value for variable not integrated in ode45

1 view (last 30 days)
How can I specify initial value for t=0s for a variable not solved via integration in ode45 solver?
  2 Comments
Jan
Jan on 28 Nov 2021
Edited: Jan on 28 Nov 2021
The question is not clear yet. If a variable is not processed by an integrator, setting it to an initial value is meaningless. So please explain, what you want to achieve, e.g. show us the current code.

Sign in to comment.

Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!