How to plot3 using 3 equations
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Myo Gyi
el 28 de Sept. de 2018
Editada: KALYAN ACHARJYA
el 28 de Sept. de 2018
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196737/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196738/image.jpeg)
3 comentarios
KALYAN ACHARJYA
el 28 de Sept. de 2018
Editada: KALYAN ACHARJYA
el 28 de Sept. de 2018
It your code and you are not sure whether correct or not?
How do you know, it is not true?
Respuesta aceptada
Torsten
el 28 de Sept. de 2018
r0=10.0;
z0=1.0;
a=0.1;
nu=1.0;
Gamm_inf=1000;
t=0:0.05:10;
z=z0*exp(2*a*t);
r=r0*exp(-a*t);
w=a*r.^2/(2*nu)
w0=a*r0^2/(2*nu);
theta=-Gamm_inf/(8*pi*nu)*((1./w.*(1-exp(-w))-1/w0*(1-exp(-w0)))-expint(w)-expint(w0));
[x y]=pol2cart(theta,r);
plot3(x,y,z)
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!