0% found this document useful (0 votes)
26 views

CS 8 022 PDF

The document describes an experiment to obtain the impulse response and step response of Type 0, Type 1, and Type 2 systems. Code is provided to define transfer functions for each system type using MATLAB and plot the impulse response and step response on subplots. The output shows the transfer functions defined for each system type are a Type 1 system with a transfer function of z1=1/(s+1), a Type 1 system with a transfer function of z2=1/(s^2+s), and a Type 2 system with a transfer function of z3=1/(s^3+s^2).

Uploaded by

vinayakjoshi8462
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

CS 8 022 PDF

The document describes an experiment to obtain the impulse response and step response of Type 0, Type 1, and Type 2 systems. Code is provided to define transfer functions for each system type using MATLAB and plot the impulse response and step response on subplots. The output shows the transfer functions defined for each system type are a Type 1 system with a transfer function of z1=1/(s+1), a Type 1 system with a transfer function of z2=1/(s^2+s), and a Type 2 system with a transfer function of z3=1/(s^3+s^2).

Uploaded by

vinayakjoshi8462
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Shri Guru Gobind Singhji Institute of Engineering and Technology

Vishnupuri, Nanded, Maharashtra 431606

Department of Electronics and Telecommunication


Name : Vinayak Balu Joshi
Registration No. : 2021BEC028
Subject :Control Systems
Pratical :8 To obtain Impulse Response & Step Response of Type '0', Type '1' & Type '2' system.

Code : clc,clear all,close all % Type '2' Output: z1 = 1


-----
% Type '1' n3 = [1]; s+1
n1 = [1]; d3 = [1 1 0 0];
d1 = [1 1]; z3 = tf(n3,d3) Continuous-time transfer function.
z1 = tf(n1,d1) subplot(3,2,5) Model Properties
subplot(3,2,1) impulse(z3)
impulse(z1) subplot(3,2,6) z2 = 1
subplot(3,2,2) step(z3) -------
s^2 + s
step(z1)
% Type '1' Continuous-time transfer function.
n2 = [1]; Model Properties
d2 = [1 1 0];
z2 = tf(n2,d2) z3 = 1
subplot(3,2,3) ---------
s^3 + s^2
impulse(z2)
subplot(3,2,4)
Continuous-time transfer function.
step(z2)
Model Properties
Type ‘0’

Type ‘1’

Type ‘2’

You might also like