problem facing with parametric 3D plot

2 visualizaciones (últimos 30 días)
Wajahat
Wajahat el 20 de Ag. de 2017
Editada: Wajahat el 22 de Ag. de 2017
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.

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by