problem facing with parametric 3D plot
1 次查看(过去 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!