|Subject:||Re: PROBLEMS with transfer function calculated by the arx function|
|Date:||Sun, 24 Mar 2019 10:24:50 -0400|
HiWhen applying the following sequence of commandsxrun=xxx2((k-1)*nsamp+1:k*nsamp);yrun=yyy2((k-1)*nsamp+1:k*nsamp);
DAT = iddata (xrun', xrun' , dt);
[SYS, X0] = arx (DAT, 'NA', NA, 'NB', NB);W=2*pi*frv;[MAG, PHA, W] = bode (SYS, W);MAG vs frequency should be 1 at all frequencies andPHA should be zero at all frequenciesIt doesn't happenHave you any explanation?It is any other way to calculate the transfer function from SYS?
Thanks in advanceZeev Sherf
|[Prev in Thread]||Current Thread||[Next in Thread]|