truncated cone plot
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi everybody, I'm just trying to plot and save a 3D matrix of points that describes a truncated cone. I've realized it with a set of concentric circles (or, better to say, one-period-spirals) reducing the external size from floor to floor. May i ask you if you know how to realize a truncated cone (just the surface) with only one spiral growing from the base to the top? Thanks for your time
0 Kommentare
Akzeptierte Antwort
the cyclist
am 22 Mai 2012
It is not perfectly clear to me what you want, but here is a parameterization that sounds close to what I think you mean:
t = 30:0.1:100;
az = 0.1;
z = az*t;
r0 = 10000;
ar = -1;
r = r0 + r0*t;
at = 0.05;
theta = at*t;
x = r .* cos(t);
y = r .* sin(t);
figure
plot3(x,y,z,'.-')
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!