I have a circuit that I want to gain its transfer function.I've attached a JPG file.

11 views (last 30 days)
Plz look at my JPG file. How can I find its transfer function???
Thank you so much.

Accepted Answer

Shoaibur Rahman
Shoaibur Rahman on 20 Dec 2014
Input voltage (across left C) = Vi
Output voltage (across right C) = Vo
Apply voltage divider rule in RL and C (at right) branch:
Vo = ((1/jwC)/(R+jwL+1/jwC))*Vi, that gives the transfer function H:
H(jw) = Vo/Vi = (1/jwC)/(R+jWL+1/jwC) = |Ho(jw)|e^(j*theta0)
where, Ho(jw) = abs(H(jw)) and theta0 = angle(H(jw))
Matlab code:
R = 1; L = 1; C = 1; % use values what you want
w = 0:0.1:10*pi; % define the frequency range
H = 1./(1+w.^2*L*C+1j*w*R*C);
H0 = abs(H);
theta0 = angle(H);
subplot(211), plot(w,H0)
subplot(212), plot(w,theta0)
  3 Comments
vahid torabi
vahid torabi on 6 Jan 2015
Thank you so much sir; but : H = 1./(1-w.^2*L*C+1j*w*R*C) is correct. Am I right??? you wrote 1./(1+w.^2*L*C+1j*w*R*C)!

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!