I want to 3D plot the functions below but nothing appear on the figure, what should I add/change?
조회 수: 1 (최근 30일)
이전 댓글 표시
a = 0.25;
theta = 0;
r = 0.25;
x = (30/2)*((1-(a^2/r^2))+(1+3*(a^4/r^4)-4*(a^2/r^2)*cos(2*theta)))
y = (30/2)*((1+(a^2/r^2))-(1+3*(a^4/r^4)*cos(2*theta)))
z = -(30/2)*((1-3*(a^4/r^4)+2*(a^2/r^2))*sin(2*theta))
plot3(x,y,z)
댓글 수: 0
채택된 답변
Javier Bastante
2016년 3월 16일
You are just giving 1 value to a,r ant theta. You have to give them different values using a=ini:h:fin loops. Hope it works with that. Regards
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!