clear all close all clc %v = [7, 3, 9] %w = [2; 4; 12] %A = [1, 2, 3; 3, 2, 1; 4, 5, 6; 6, 5 ,4]; figure subplot(2,1,1) t = 0:0.01:3; s = 10*exp(-2*t); plot(t,s,'-.') grid s2 = 5*cos(10*t); hold on plot(t,s2,'-') hold off title('primo segnale su matlab') xlabel('t') ylabel('segnale') legend('esponenziale','coseno') subplot(2,2,3) plot(t,s,'-.') subplot(2,2,4) plot(t,s2,'-',t,s,'-.') figure plot(t,s2,'-')