Define initial value for variable not integrated in ode45

How can I specify initial value for t=0s for a variable not solved via integration in ode45 solver?

2 Kommentare

Jan
Jan am 28 Nov. 2021
Bearbeitet: Jan am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Version

R2020a

Gefragt:

am 28 Nov. 2021

Kommentiert:

am 28 Nov. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by