www.gusucode.com > control 案例程序 matlab源码代码 > control/CreateTransferFunctionModelUsingRationalExpressionExample.m

    %% Create Transfer Function Model Using Rational Expression
% To use a rational expression to create a SISO transfer function model,
% first specify |s| as a |tf| object.
s = tf('s');

%%
% Create a transfer function using |s| in a rational expression.
H = s/(s^2 + 2*s + 10);

%%
% This method produces the same transfer function as:
h = tf([1 0],[1 2 10]);