ex9_16 - num2 = [1 0.9]/0.9; num = conv(num1,num2); y2 =...

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

View Full Document Right Arrow Icon
% Example 9.16 % third order response % shows dominant poles % no zeros num1 = 25; den1 = [1 7 25]; num2 = 1; den2 = [1 1]; num = conv(num1,num2); % this multiplies the polynomials den = conv(den1,den2); t = 0:0.01:4; y1 = step(num,den,t); % with a zero at 0.9
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: num2 = [1 0.9]/0.9; num = conv(num1,num2); y2 = step(num,den,t); plot(t,y1,t,y2); xlabel('Time (sec)') ylabel('y(t)') title('Third order step response, no zeros') text(1.2,.5,'no zeros') text(.5,.8,'zero at -0.9')...
View Full Document

Ask a homework question - tutors are online