New Reply

Transfer function of a circuit in Matlab

 
Share Thread Thread Tools
Feb27-12, 08:35 AM   #1
 

Transfer function of a circuit in Matlab


1. The problem statement, all variables and given/known data


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)
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> 'Whodunnit' of Irish potato famine solved
>> The mammoth's lament: Study shows how cosmic impact sparked devastating climate change
>> Curiosity Mars rover drills second rock target
Feb28-12, 02:10 AM   #2
 
There's a problem with that link.
 
Feb28-12, 02:46 AM   #3
 
The circuit is attached now, kindly have a look
Attached Thumbnails
Untitled.png  
 
New Reply

Tags
matlab, transfer function
Thread Tools


Similar Threads for: Transfer function of a circuit in Matlab
Thread Forum Replies
Matlab transfer function help Math & Science Software 1
Transfer Function Mid-band Gain & Open Circuit/Short Circuit Time Constant Method Engineering, Comp Sci, & Technology Homework 1
Transfer function in matlab Math & Science Software 1
Transfer Function in MATLAB Engineering, Comp Sci, & Technology Homework 1
Matlab Transfer Function Math & Science Software 3