| 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 |
| On this page… |
|---|
You can perform arithmetic on LTI models, such as addition, multiplication, or concatenation. Addition performs a parallel interconnection. For example, typing
tf(1,[1 0]) + tf([1 1],[1 2]) % 1/s + (s+1)/(s+2)
produces this transfer function.
Transfer function: s^2 + 2 s + 2 ------------- s^2 + 2 s
Multiplication performs a series interconnection. For example, typing
2 * tf(1,[1 0])*tf([1 1],[1 2]) % 2*1/s*(s+1)/(s+2)
produces this cascaded transfer function.
Transfer function: 2 s + 2 --------- s^2 + 2 s
If the operands are models of different types, the resulting model type is determined by precedence rules; see Precedence Rules for more information. State-space models have the highest precedence while transfer functions have the lowest precedence. Hence the sum of a transfer function and a state-space model is always a state-space model.
Other available operations include system inversion, transposition, and pertransposition; see Arithmetic Operations. You can also perform matrix-like indexing for extracting subsystems; see Extracting and Modifying Subsystems for more information.
You can also use the series and parallel functions as substitutes for multiplication and addition, respectively.
Equivalent Ways to Interconnect Systems
Operator | Function | Resulting Transfer Function |
|---|---|---|
sys1 + sys2 | parallel(sys1,sys2) | Systems in parallel |
sys1 - sys2 | parallel(sys1,-sys2) | Systems in parallel |
sys1 * sys2 | series(sys2,sys1) | Cascaded systems |
You can use the feedback and lft functions to derive closed-loop models. For example,
sys_f = feedback(tf(1,[1 0]), tf([1 1],[1 2])
computes the closed-loop transfer function from r to y for the feedback loop shown below. The result is
Transfer function:
s + 2
-------------
s^2 + 3 s + 1
This figure shows the interconnected system in block diagram format.
Feedback Interconnection

You can use the lft function to create more complicated feedback structures. This function constructs the linear fractional transformation of two systems. See the reference page for more information.
![]() | Model Characteristics | Converting Between Continuous- and Discrete- Time Systems | ![]() |

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 |