11.07.2015 Views

Relazione sul Seminario Matlab-Simulink per l'Ingegneria

Relazione sul Seminario Matlab-Simulink per l'Ingegneria

Relazione sul Seminario Matlab-Simulink per l'Ingegneria

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

L’istruzione subplot(2,3,2)alloca una finestra grafica suddivisa come in figura e rende attivala finestra numero 2:t=0:0.01:5;y1=sin(t)+cos(t).^2;y2=sin(t);y3=cos(t);y4=sqrt(cos(t).^2+abs(sin(t)));close allfigure(1)subplot(1,2,1),plot(t,y1),gridsubplot(1,2,2),plot(t,y2),gridfigure(2)subplot(2,1,1),plot(t,y1),gridsubplot(2,1,2),plot(t,y2),gridfigure(3)subplot(2,2,1),plot(t,y1),gridsubplot(2,2,2),plot(t,y2),gridsubplot(2,2,3),plot(t,y3),gridsubplot(2,2,4),plot(t,y4),grid

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!