Saturday, August 16, 2008

Transfer Function - Part 5

IMPULSE RESPONSE USING THE TRANSFER FUNCTION

MATLAB can also plot the impulse response of a transfer function. Because the transfer function is in the form of output over input, the transfer function must be multiplied by the magnitude of the impulse. The syntax for plotting the impulse response is:

impulse(u * transferfunction)

where u is the magnitude of the impulse and transferfunction is the name of the transfer function of the system.

EXAMPLE

Find the impulse response of tutorial_tf with an input of u = 2 using MATLAB:

>> u = 2;

>> impulse(u * tutorial_tf)

The MATLAB output will be the following plot of the impulse response:

No comments:

Post a Comment