The next iteration converts all the blocks with a sample time of 0.01 to a sample time of
0.025. First, the following command represents the combination of these blocks by
closing the feedback loop.
sysCL = feedback(sysTs1*sysC_Ts1,1);
Next, a zero-order hold method converts the closed loop system, sysCL, from a sample
rate of 0.01 to 0.025.
sysCL_Ts2 = d2d(sysCL,0.025);
The system sysCL_Ts2 then replaces the feedback loop in the model.
scdmratestep3
The final iteration re-samples the combination of the closed loop system and the block
sysTs2 from a rate of 0.025 seconds to a rate of 0.05 seconds.
sys_L = d2d(sysCL_Ts2*sysTs2,0.05)
sys_L =
0.0001057 (z+22.76) (z+0.912) (z-0.9048) (z+0.06495)
Linearization of Multirate Models