%% Continuous-Time Zero-Pole-Gain Model Using Rational Expression
% For this example, create a continuous-time zero-pole-gain model using rational expressions. Using a rational expression can sometimes be easier and more intuitive than specifying poles and zeros.
% Consider the following system:
% sys(s) = \frac{s}{s^2+2s+10}.
% To create the transfer function model, first specify s as a zpk object.

s = zpk('s')

%
% Create the zero-pole-gain model using s in the rational expression.

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

% Copyright 2020 The MathWorks, Inc.