graph not plotting anything
이전 댓글 표시
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'})
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!