Changes between Initial Version and Version 1 of Ticket #5927, comment 39


Ignore:
Timestamp:
2020-06-20T19:41:21Z (5 years ago)
Author:
Francesco Casella

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5927, comment 39

    initial v1  
    33sys = ss(A,B,C,D,Ts,...)
    44}}}
    5 If you add {{{Ts}}}, Matlab interprets this a the sampling time of a discrete-time system, and thus returns a discrete-time object. Which is totally wrong, because of course the meaning of the A,B,C,D matrix is completely different in that case. I was trying to figure out why I was getting unstable responses when computing {{{step(sys)}}}, since the eigenvalues were all in the left-hand plane, but then I plotted the Bode plots, and they were limited to Nyquist's frequency, so I understood: the eigenvalues were outside the unit disk...
     5If you add {{{Ts}}}, Matlab interprets this a the sampling time of a discrete-time system, and thus returns a discrete-time object. Which is totally wrong, because of course the meaning of the A,B,C,D matrices is completely different in that case. I was trying to figure out why I was getting unstable responses when computing {{{step(sys)}}}, since the eigenvalues were all in the left-hand plane, but then I plotted the Bode plots, and they were limited to Nyquist's frequency, so I understood: the eigenvalues were outside the unit disk...
    66
    77This really needs to be fixed. I would suggest you also fix the file and function naming, see comment:38, otherwise this won't work out of the box, but would require some file editing, which is not nice.