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

Assignment 1 PDF

The document contains 5 problems involving transfer functions and step responses. Problem 1 defines a transfer function and takes its Laplace transform. Problem 2 defines a feedback system and plots its step and impulse responses. Problem 3 calculates time constants and settling time for an RC circuit. Problem 4 defines a second order transfer function for an RLC circuit and plots its step response. Problem 5 defines a state space system and plots its step response.

Uploaded by

dilipkumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Assignment 1 PDF

The document contains 5 problems involving transfer functions and step responses. Problem 1 defines a transfer function and takes its Laplace transform. Problem 2 defines a feedback system and plots its step and impulse responses. Problem 3 calculates time constants and settling time for an RC circuit. Problem 4 defines a second order transfer function for an RLC circuit and plots its step response. Problem 5 defines a state space system and plots its step response.

Uploaded by

dilipkumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Assignment 1

Ans1) num=[3,6];

den=[1,2,5];

t=tf(num,den);

pzmap(t);
syms F s;

F=(3*s+6)/(s^2+2*s+5);

inverse=ilaplace(F)

Ans2) G=tf([1],[1,1,1]);

H=tf([1],[1,1]);

T=feedback(G,H)

step(T);

figure;
impulse(T);
Ans3) res=2;

cap=1;

syms t

eqn=1-exp(-t/(res*cap))==0.63;

time_constant=solve(eqn,t)

eqn=1-exp(-t/(res*cap))==0.9;

t2=solve(eqn,t);

eqn=1-exp(-t/(res*cap))==0.1;

t1=solve(eqn,t);

rise_time=t2-t1

eqn=1-exp(-t/(res*cap))==0.98;

t2=solve(eqn,t);

settling_time=t2

h=tf([5],[2,1]);

g=stepinfo(h);

g.RiseTime

g.SettlingTime
ans4) r1=10*1000;

r2=20*1000;

l=100;

c=20*0.000001;

h=tf([r2*l,0],[r1*r2*l*c,r1*l+r2*l,r1*r2])

step(h);
the transfer function is

Ans5) A=[-3 1 0;0 -6 1;0 0 -5]

B=[0;1;1]

C=[0 1 1]

D=0

sys=ss(A,B,C,D);

H=tf(sys);

step(H);

You might also like