Tracking code but no plots is observed

t=0:0.2:30*pi; a=5;a=5;B=10; b=4;C=8;c=5;coef=0.07; x= A*cos(a*coef*t); y= B*sin(b*coef*t); z= C*(1-exp(-5*coef*t)); plot(x,y,z,'b') grid on

 Risposta accettata

plot3(x,y,z,'b')

2 Commenti

t=0:0.2:30*pi;
a=5;A=5;B=10;
b=4;C=8;c=5;
coef=0.07;
x= A*cos(a*coef*t);
y= B*sin(b*coef*t);
z= C*(1-exp(-5*coef*t))
z = 1×472
0 0.5408 1.0451 1.5153 1.9537 2.3625 2.7436 3.0990 3.4303 3.7393 4.0273 4.2959 4.5463 4.7798 4.9975 5.2005 5.3898 5.5662 5.7308 5.8842 6.0272 6.1606 6.2850 6.4009 6.5090 6.6098 6.7038 6.7914 6.8731 6.9493
plot3(x,y,z)
grid on
use plot3 function

Accedi per commentare.

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by