Transfer function is defined as:

With Matlab control system tollbox:** K0=2; T0=4;num0=[K0 0];den0=[T0 1];H0=tf(num0,den0);**

Transfer function with a time-delay:

** Tdelay = 1;Hd = tf(num0,den0,’InputDelay’,Tdelay) **

The function tfdate retrieves the information:** [numHd,denHd] = tfdata(Hd,’v')**

numHd =

2 0

denHd =

4 1

Input delay can be retrieved by the get command:** get(Hd,’InputDelay’)**

ans =

1

To show the impulse or step response of a system:

** impulse(Hd)step(Hd)**

To show the Poles and Zeros:

** pole(Hd)zero(Hd)pzmap(Hd)**

Use the command bode to plot the magnitude and phase of the frequency response:

** bode(Hd) **

Matlab has wrapped all the above commands (plus a lot more) into the function ltiview:

** ltiview **

Matlab Signal Processing

## No comments:

## Post a Comment