Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t = -5:0.01:5;
- x = 3*cos(t).^3;
- y = 2*sin(t).^3;
- plot(x,y,1);
- T = -3:0.01:3;
- Y = (e.^T+e.^-T)/2;
- plot(Y);
- #Curbe 3D
- t = -8:0.01:10;
- x = 3+3*cos(t);
- y = 3*sin(t);
- z = 6*sin(t/2);
- plot3(x,y,z,1);
- #mesh
- x = -8:0.01:8;
- [Z,Y] = meshgrid(x); #generare coordonate
- z = sin(sqrt(Z.^2+Y.^2))./sqrt(Z.^2+Y.^2);
- mesh(Z,Y,z); #reprezentare suprafata
- figure(2);
- surf(Z,Y,z);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement