simple plotting in matlab
2 views (last 30 days)
Show older comments
x=1:1:30 h=70 y=h/x
i understand they are unequal in length but how would i plot it dividing 70 by x one at a time to plot
0 Comments
Accepted Answer
Azzi Abdelmalek
on 4 Apr 2014
Edited: Azzi Abdelmalek
on 4 Apr 2014
x=1:1:30
h=70
y=h./x
plot(x,y)
4 Comments
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!