Last Question of the Night
Ältere Kommentare anzeigen
% Author: Sean Walsh % Write a script that plots r=cos(2theta) from 0 to 2pi. disp('Using MatLabs Polar command we graph') theta=linspace(0,2*pi); r=cos(2*theta); polar(theta,r) disp('Using MatLabs Plot command we graph') x=r.*cos(theta); y=r.*sin(theta); plot(x,y) disp('When subplotted together')
^How does one subplot that? Thank you in advance. :)
2 Kommentare
Jan
am 31 Jan. 2013
Please format your code properly. Thanks.
Image Analyst
am 31 Jan. 2013
And of course, use a meaningful subject line, not a useless one like "Last Question of the Night".
Akzeptierte Antwort
Weitere Antworten (2)
Kategorien
Mehr zu Subplots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!