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.
Functions
tf | Transfer function model |
zpk | Zero-pole-gain model |
ss | State-space model |
frd | Frequency-response data model |
pid | PID controller in parallel form |
pidstd | PID controller in standard form |
pid2 | 2-DOF PID controller in parallel form |
pidstd2 | 2-DOF PID controller in standard form |
make1DOF | Convert 2-DOF PID controller to 1-DOF controller |
make2DOF | Convert 1-DOF PID controller to 2-DOF controller |
getComponents | Extract SISO control components from a 2-DOF PID controller |
Topics
- 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 (tf
). - 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.