When applying the following sequence of commands
DAT = iddata (xrun',
xrun' , dt);
[SYS, X0] = arx (DAT, 'NA', NA, 'NB', NB);
[MAG, PHA, W] = bode (SYS, W);
MAG vs frequency should be 1 at all frequencies and
PHA should be zero at all frequencies
It doesn't happen
Have you any explanation?
It is any other way to calculate the transfer function from SYS?
Thanks in advance