Upsample discrete-time models
sysl = upsample(sys,L)
sysl = upsample(sys,L) resamples the discrete-time
dynamic system model
sys at a sampling rate that
L-times faster than the sample time of
be a positive integer. When
sys is a TF model, H(z),
sysl as H(zL)
with the sample time Ts0 /
The responses of models
the following similarities:
The time responses of
syslmatch at multiples of Ts0.
The frequency responses of
syslmatch up to the Nyquist frequency π / Ts0.
L times as many
Upsample Discrete-Time Transfer Function
Create a transfer function with sample time 2.25 seconds.
sys = tf(0.75,[1 10 2],2.25)
sys = 0.75 -------------- z^2 + 10 z + 2 Sample time: 2.25 seconds Discrete-time transfer function.
Create a transfer function with a sample time that is 14 times faster than
L = 14; sys1 = upsample(sys,L)
sys1 = 0.75 ------------------ z^28 + 10 z^14 + 2 Sample time: 0.16071 seconds Discrete-time transfer function.
The sample time of
sys1 is 0.16071 seconds, which is 14 times faster than the sample time of
Introduced in R2008b