Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Time Domain and Frequency Domain Representation using Python: A Robotics Lab Experiment, Study notes of Artificial Intelligence

Artificial Intelligence slides and study notes

Typology: Study notes

2021/2022

Available from 02/13/2024

versha-parashar
versha-parashar 🇮🇳

4 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
A
l
g
o
r
i
t
hm
f
o
r
I
n
t
e
ll
i
g
e
n
t
Systems
Robotics Lab
pf3

Partial preview of the text

Download Time Domain and Frequency Domain Representation using Python: A Robotics Lab Experiment and more Study notes Artificial Intelligence in PDF only on Docsity!

Algorithm for

Intelligent Systems

Robotics Lab

Experiment 1: Time Domain and frequency Domain

representation using Python

Aim: Implement the Lab with proper explanation on the Transfer Function of the Control library. Explain the

step response function. Finally explain the figures which are formed as an output.

Theory:

 Transfer function: The Transfer Function class is used to represent input/output

transfer functions. To create a transfer function, use the tf() function.

 Step Response function: If the system has multiple inputs or multiple outputs, the

step response is computed for each input/output pair, with all other inputs set to zero.

Code:

from control import * import matplotlib.pyplot as plt import pylab as pl g=tf(1, [1,1,1]) t,y=step_response(g) plt.plot(t,y) plt.xlabel('t') plt.ylabel('y') plt.grid() plt.show()