| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Control System Toolbox |
| Contents | Index |
| Learn more about Control System Toolbox |
General model characteristics include the model type, I/O dimensions, and continuous or discrete nature. Related commands are listed in the table below. These commands operate on continuous- or discrete-time LTI models or arrays of LTI models of any type.
General Model Characteristics Commands | Description |
|---|---|
| class | Display model type ('tf', 'zpk', 'ss', or 'frd'). |
| hasdelay | Test true if LTI model has any type of delay. |
| isa | Test true if LTI model is of specified class. |
| isct | |
| isdt | |
| isempty | |
| isproper | |
| issiso | |
| ndims | Display the number of model/array dimensions. |
| reshape | Change the shape of an LTI array. |
| size | Output/input/array dimensions. Used with special syntax, size also returns the number of state dimensions for state-space models, and the number of frequencies in an FRD model. |
This example illustrates the use of some of these commands. See the related reference pages for more details.
H = tf({1 [1 -1]},{[1 0.1] [1 2 10]})
Transfer function from input 1 to output:
1
-------
s + 0.1
Transfer function from input 2 to output:
s - 1
--------------
s^2 + 2 s + 10
class(H)
ans =
tf
size(H)
Transfer function with 2 input(s) and 1 output(s).
[ny,nu] = size(H) % Note: ny = number of outputs
ny =
1
nu =
2
isct(H) % Is this system continuous?
ans =
1
isdt(H) % Is this system discrete?
ans =
0
![]() | Model Analysis Tools | Model Dynamics | ![]() |

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 |