Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
MODELAMIENTO AMBIENTAL
Malla transparente
pcolor(x,y,z),hold on
contour(x,y,z,'k') % k es negro
Curvas en 3D y superficies
Curvas en 3D
t = 0:pi/500:4*pi;
x = sin(t); y = cos(t); z = t;
plot3(x,y,z)% Hlice
Superficies de revolucin
cylinder(x);
Esfera
sphere
MAS EJEMPLOS
>> plot(X,Y,k.)
>> Z = sin(X.2+Y);
>> surf(X,Y,Z)
>> shading flat
>> load handel % para sonido
>> sound(y,Fs)
x=0:0.02:1;
y=pi*(-1:0.05:1);
[R,T] = meshgrid(x,y);
X = R.*cos(T); Y = R.*sin(T);
pcolor(X,Y,X.2-Y.3), axis equal