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|
|Create zero-pole-gain model; convert to zero-pole-gain model|
|Create state-space model, convert to state-space model|
|Create frequency-response data model, convert to frequency-response data model|
|Create PID controller in parallel form, convert to parallel-form PID controller|
|Create a PID controller in standard form, convert to standard-form PID controller|
|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|
You can explicitly convert a model from one representation to another using the model-creation command for the target model type.
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.
This example shows how to convert a numeric LTI model from one type (
pid) to another type (
This example shows how to get the current value of a generalized model by converting it to a numeric model.
This example shows how to extract SISO control components from a 2-DOF PID controller in each of the feedforward, feedback, and filter configurations.
This example shows that high-multiplicity poles have high numerical sensitivity and can shift by significant amounts when switching model representation.