[adsense:responsibe:9545213979]
a)
t=0:0.5:50; ft=3*sin(5*t+(%pi/4)); s=%s; fs=3*(5/(s^2+5^2))*cos(%pi/4)+3*(s/(s^2+5^2))*sin(%pi/4); fs2=syslin('c',fs); fs1=csim('impulse',t,fs2); subplot(2,1,1); plot2d(t,ft,2); xtitle('Enunciado'); xgrid; subplot(2,1,2); plot2d(t,fs1,1); xtitle('Solucion'); xgrid;
b)
t=0:0.5:50; ft=0.3*ones(size(t,2))-0.3*cos(2*t); s=%s; fs=0.3*(1/s)-0.3*(s/(s^2+2^2)); fs2=syslin('c',fs); fs1=csim('impulse',t,fs2); subplot(2,1,1); plot2d(t,ft,2); xtitle('Enunciado'); xgrid; subplot(2,1,2); plot2d(t,fs1,1); xtitle('Solucion'); xgrid;
Añadir nuevo comentario