User`s guide

Table Of Contents
General Model Characteristics
5-3
This example ill ustrates 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