problem facing with parametric 3D plot
조회 수: 2 (최근 30일)
이전 댓글 표시
clear all;
close all;
N=-10:.1:10;
q=-10:.1:10;
t=.1;
i=1;
p=.8;
mu1=(-1.24);
m1=-(1+i.*p./mu1).^N.*exp(i.*mu1.*t./2);
m2=(1-i.*p./mu1).^N.*exp(-i.*mu1.*t./2);
q1=q+i.*mu1.*((m1.^2-m2.^2)./(m1.^2+m2.^2));
r2=2*i.*mu1.*((m1.*m2))./(m1.^2+m2.^2);
plot((q1),(r2),'linewidth',1);
How can I plot the solutions q1 and r2 in 3D. It work very well when i plot the solutions q1 and r2 in 2D for t=1. But in 3D i am not able to plot these solutions in 3D. I have been using 'fsurf' command but it doesn't work.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!