graph not plotting anything
Mostrar comentarios más antiguos
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'})
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!