Model Type Conversion
You can convert a model from one representation to another using the
model-creation command for the target model type. For example, convert to
state-space representation using
ss, and convert to
parallel-form PID using
pid. For information about converting
to a particular model type, see the reference page for that model type.
|Transfer function model|
|Frequency-response data model|
|PID controller in parallel form|
|PID controller in standard form|
|Create 2-DOF PID controller in parallel form, convert to parallel-form 2-DOF PID controller|
|Create 2-DOF PID controller in standard form, convert to standard-form 2-DOF PID controller|
|Convert 2-DOF PID controller to 1-DOF controller|
|Convert 1-DOF PID controller to 2-DOF controller|
|Extract SISO control components from a 2-DOF PID controller|
- Conversion Between Model Types
You can explicitly convert a model from one representation to another using the model-creation command for the target model type.
- Switching Model Representation
This example shows how to switch between the transfer function (TF), zero-pole-gain (ZPK), state-space (SS), and frequency response data (FRD) representations of LTI systems.
- Convert from One Model Type to Another
This example shows how to convert a numeric LTI model from one type (
pid) to another type (
- Get Current Value of Generalized Model by Model Conversion
This example shows how to get the current value of a generalized model by converting it to a numeric model.
- Decompose a 2-DOF PID Controller into SISO Components
This example shows how to extract SISO control components from a 2-DOF PID controller in each of the feedforward, feedback, and filter configurations.
- Sensitivity of Multiple Roots
This example shows that high-multiplicity poles have high numerical sensitivity and can shift by significant amounts when switching model representation.