paramteric 3dplot

2 views (last 30 days)
Yeghia Koronian
Yeghia Koronian on 15 Mar 2011
Hello I am having problem in parametric 3D plotting passing additional arguments to it.
for instance z=a*t x=r*cos(b*t) y=r*som(b*t) I am having problem with the syntax of passing the args. and plotting.

Answers (1)

Matt Tearle
Matt Tearle on 15 Mar 2011
Can you explain more thoroughly what your difficulty is?
t = linspace(0,2*pi);
a = 0.3; b = 2; r = rand;
z = a*t;
x = r*cos(b*t);
y = r*sin(b*t);
plot3(x,y,z)

Tags

Community Treasure Hunt

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

Start Hunting!