Setting variables to constants in MATLAB
6 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!