INDIETRO
 Laboratorio 5
AVANTI

grafici avanzati: rappresentazioni parametriche

Alcuni esempi in matlab/octave

t=[-5:0.005:5];
x=(1+t.^2).*cos(20*t);
y=(1+t.^2).*sin(20*t);
z=t;
plot3(x,y,z);


r=linspace(0,1,30);
t=linspace(0,2*pi,30);
[R,T]=meshgrid(r,t);
x=R.*cos(T);
y=R.*sin(T);
z=R;
mesh(x,y,z);
shading('flat');
shading('interp');
shading('faceted');

Un esempio in maple: le curve di Lissajous.

plot([sin(3*t),cos(5*t),t=0..2*Pi]);
 


INDIETRO
Laboratorio Didattico di Matematica Computazionale - Sergio Steffè - AA 2017/2018 - PISA
AVANTI