Lab 2
Lab 2
sys=tf([num],[den])
sys=zpk([num],[den],gain)
s=tf(‘s’)
• To find the poles and zeros of any transfer function, use the following command:
Pole(sys)
• You can also plot the zeros and the poles of any system using the following command:
pzmap(sys)
To get the step response of a system, you can use the following command:
step(sys)
To get the impulse response of a system, you can use the following command:
impulse(sys)
2- Show-up the poles and the zeros of the transfer function in MATLAB
3- Obtain the pole-zero map.
4- Get the step and the impulse response
5- What can you remark on the system depending on the step and the impulse response.
Repeat the same question (1-5) for the following transfer function:
• Parallel configuration
Remark. 1: If the feedback is not equal to 1 (function feedback), MATLAB command will be:
where
Remarks: The answers must be placed on a word file with all the obtained results and remarks
during the simulation parts. The word file must carry a full name.
Best of Luck