Products & Services Solutions Academia Support User Community Company

Learn more about System Identification Toolbox   

Transforming Between Linear Model Representations

You can transform linear models between state-space and polynomial forms. You can also transform between frequency-response, state-space, and polynomial forms.

If you used the System Identification Tool GUI to estimate models, you must export the models to the MATLAB workspace before converting models.

For detailed information about each command in the following table, see the corresponding reference page.

Commands for Transforming Model Representations

CommandModel Type to ConvertUsage Example
idfrdConverts any single- or multiple-output idmodel object to idfrd model.
If you have the Control System Toolbox product, this command converts any LTI object.
To get frequency response of m at default frequencies, use the following command:
m_f = idfrd(m)
To get frequency response at specific frequencies, use the following command:
m_f = idfrd(m,f)
To get frequency response for a submodel from input 2 to output 3, use the following command:
m_f = idfrd(m(2,3))
idpolyConverts single-output idmodel object to ARMAX representation.
If you have the Control System Toolbox product, this command converts any single-output LTI object except frd.
To get an ARMAX model from state-space model m_ss, use the following command:
m_p = idpoly(m_ss)
idssConverts any single- or multiple-output idmodel object to state-space representation.
If you have the Control System Toolbox product, this command converts any LTI object except frd.
To get a state-space model from an ARX model m_arx, use the following command:
m_ss = idss(m_arx)

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS