transfer - subplot(2,2,1); plot(t,x1); subplot(2,2,2)...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
clear num=[0 1]; den=[1e-4 0.02 1]; t=0:0.0001:0.5; x1=10*sin(2*pi*50*t); x2=10*sin(2*pi*500*t); y1=lsim(num,den,x1,t); y2=lsim(num,den,x2,t);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: subplot(2,2,1); plot(t,x1); subplot(2,2,2) plot(t,x2) subplot(2,2,3) plot(t,y1); subplot 224 plot(t,y2)...
View Full Document

Ask a homework question - tutors are online