unit delay in z-domain, is this correct? I do not think the bode is correct. Thanks

2 Ansichten (letzte 30 Tage)
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)

Akzeptierte Antwort

Paul
Paul am 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.
  3 Kommentare
Paul
Paul am 9 Jun. 2025
That's true if the frequency axis is linear, not logarithmic as is the case with bode
z = tf('z',1e-4);
delay = 1/z; % delay transfer function
h = bodeplot(delay);
setoptions(h,'FreqScale','linear')

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by