unit delay in z-domain, is this correct? I do not think the bode is correct. Thanks
6 views (last 30 days)
Show older comments
z = tf('z',1e-4);
%L = T/S; % open loop in s domain
%L_z = c2d(L, 1e-4, 'zoh'); % sample L
delay = 1/z; % delay transfer function
%L_z_delayed = L_z * delay; % delayed L
%margin(L_z_delayed);
bode(delay)
0 Comments
Accepted Answer
Paul
on 9 Jun 2025
Hi Mohammad,
What exactly about the Bode plot appears to be incorrect?
The gain of the unit delay should be 1 (or 0 dB) at all frequencies, which is what the plot shows insofar as 2e-15 dB is essentially 0 dB. The phase plot looks as expected as well.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!