Transfer function of a circuit in Matlab

Click For Summary
SUMMARY

The discussion focuses on deriving the transfer function I2/V1 for a specific circuit using MATLAB. The user attempts to solve the circuit equations using symbolic variables and encounters discrepancies between their results and the expected answer. The equations defined include eq1 and eq2, which represent the circuit's relationships involving resistors (R1, R2), inductance (L), and capacitance (c). The final expressions for I2 and V1 are derived but yield an incorrect transfer function, indicating a need for further analysis of the circuit configuration.

PREREQUISITES
  • Understanding of circuit analysis and transfer functions
  • Familiarity with MATLAB symbolic computation
  • Knowledge of inductors and capacitors in electrical circuits
  • Basic algebraic manipulation of equations
NEXT STEPS
  • Review MATLAB symbolic toolbox functions for solving equations
  • Study circuit analysis techniques for deriving transfer functions
  • Learn about the impact of circuit components (R, L, C) on transfer functions
  • Explore MATLAB's 'tf' function for transfer function representation
USEFUL FOR

Electrical engineering students, circuit designers, and anyone involved in control systems or circuit analysis using MATLAB.

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: 531

Similar threads

  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
2K
  • · Replies 18 ·
Replies
18
Views
8K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K