Transfer function of a circuit in Matlab

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
XuFyaN
Messages
49
Reaction score
0

Homework Statement

What will be the transfer function in form of I2 / V1 of this circuit

http://img813.imageshack.us/img813/198/6…
2. The attempt at a solution

here is my coding but it shows incorrect answer,
>> syms I I2 R1 R2 V1 S c L
>> eq1 = I*R1 + L*S*(I-I2)-V1

eq1 =

I*R1 - V1 - L*S*(I2 - I)

>> eq2 = L*S*(I2-I)+I2*R2+I2/(c*S)

eq2 =

I2*R2 + I2/(S*c) + L*S*(I2 - I)

>> d = solve(eq1,V1)

d =

I*R1 - I2*L*S + I*L*S

>> e = solve(eq2,I2)

e =

(I*L*S)/(R2 + 1/(S*c) + L*S)
but after doing f=e/d it shows incorrect answer (the answer doesn't match with the one my teacher told)
 
Last edited by a moderator:
Physics news on Phys.org
There's a problem with that link.
 
The circuit is attached now, kindly have a look
 

Attachments

  • Untitled.png
    Untitled.png
    2.3 KB · Views: 546