(Solved):
LAB 5: LTI SYSTEMS ANALYIS USING MATLAB (50 marks) Example Given the following transfer fu ...
LAB 5: LTI SYSTEMS ANALYIS USING MATLAB (50 marks) Example Given the following transfer function: Hs = 1 s+1 In MathScript we will use the following code: % Define Transfer function, also called the system, sys num = [1]; den = [1, 1]; sys = tf(num, den); % step and impulse commands are used to plot the response of a system to a unit step and impulse signal input respectively % Step Response subplot(2,1,2) step(sys); % Impulse Response subplot(2,2,2) impulse sys); LAB - Plot the output y(t) when the input is x(t) = u(t 3) and the impulse response of the LTI system is h(t) = e-³tu(t). (Compare your results with the solution given in Question 2 of Revision Questions 2F available on eFundi). (20) Also include separate plots of the unit step response and impulse response for the system above. (20) (Submit your Matlab program together with your clearly labelled graphs. All this should fit on just 2 pages.) (10)