Plot the phase plane
Show older comments
I am trying to plot the phase plane.
The code gives the error :Undefined function or variable 'ciplot'.
Error in phaseplane1 (line 6)
ciplot(lower, upper, x, 'b')
I tried to define ciplot as a function by using the code:
function ciplot(lower,upper,x,colour);
if nargin<4
colour='b';
end
if nargin<3
x=0:0.01:2;
end
But it still doesn't work.
Accepted Answer
More Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!