How do I get my graph to produce something other than a straight line?
1 view (last 30 days)
Show older comments
I am trying to plot my PistonSpeed versus theta2 and my graph keeps producing a straight line. Here is the code that I have written.
0 Comments
Accepted Answer
Star Strider
on 4 Dec 2014
‘PistonSpeed’ needs to be subscripted just as ‘theta2’ is:
PistonSpeed(i) = X(2);
More Answers (0)
See Also
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!