%% Transfer Function Model Using Rational Expression
% For this example, create a continuous-time transfer function model using rational expressions. Using a rational expression can sometimes be easier and more intuitive than specifying polynomial coefficients of the numerator and denominator.
% Consider the following system:
% sys(s) = \frac{s}{s^2+2s+10}.
% To create the transfer function model, first specify s as a tf object.

s = tf('s')

%
% Create the transfer function model using s in the rational expression.

sys = s/(s^2 + 2*s + 10)

% Copyright 2012 The MathWorks, Inc.