clear all close all clc %disp('hello world!') %A = [1 2 3 4; 5 6 7 8]; %disp(A) %a = 5; %disp(['il valore di a รจ ',num2str(a)]) t = [0:0.01:3]; s = 10*exp(-2*t); s2 = cos(10*t); figure subplot(2,2,1) plot(t,s,'r--') subplot(2,2,2) plot(t,s,'g-.') subplot(2,1,2) plot(t,s2,'b-')