Exercise 1:
For the unity feedback system given below:
R(s)
c(s)
Write the MATLAB code to create the open-loop transfer function G(s). Write the MATLAB code to determine the closed-loop transfer function. Determine the poles and zeros of the system. Plot the pole-zero map. Using Ltiview function, determine the delay time (Td), the peak time (Tp), settling time (Ts), rise time (Tr), and maximum percentage overshoot (Mp).
Command Window:
clear all
close all
clc
The above three commands will clear all previous data and variables stored, close all opened programs, and clear the screen.