graph not plotting anything
Ältere Kommentare anzeigen
When i plot the following graph nothing appears.
theta = linspace(0,2*pi, 1000);
d2b = -(a*cos(theta)*c^2 - a^2*sin(theta).^2.^(3/2) + a^3*sin(theta).^4 + a*c^2*cos(theta).^2 - a*c^2*sin(theta).^2)/(c^2 - a^2*sin(theta).^2).^(3/2);
plot(theta,d2b, 'g');
xlim([0,2*pi])
figure(3)
plot(theta,d2b,'g')
set(gca,'XTick',0:pi/2:2*pi)
set(gca,'XTickLabel',{'0','pi/2','pi','3*pi/2','2*pi'})
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 2-D and 3-D Plots 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!