image thumbnail
from Magnetic Actuators and Sensors by John Brauer
Companion M-files to accompany the book "Magnetic Actuators and Sensors"

ex15b04.m
echo on; clear all
num1 = 500;                              % third-order system num          
den1 = [1  29   120   500];   	  % third-order system den
num2=20;                     	  % reduced-order system num          
den2 = [1  4  20];            	  % reduced-order system den
sys3rd = tf(num1, den1)       	  % third-order system
sys2nd = tf(num2, den2)       	  % reduced-order system
ltiview('step', sys3rd, 'b', sys2nd, 'r')

Contact us at files@mathworks.com