Setting variables to constants in MATLAB
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a set of differential equations and I want to set some of the variables to be constant.
For instance,
dy1dt = f(..)
dy2/dt = g(..)
Here, want to set y2 to be constant always.
constant y2;
Is this the right to deifne y2 to be constant?
4 Kommentare
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!