Transfer function of a circuit in Matlab

In summary, the transfer function in the form of I2/V1 for the given circuit is (I*L*S)/(R2 + 1/(S*c) + L*S) divided by (I*R1 - I2*L*S + I*L*S). However, there may be a discrepancy in the answer due to an issue with the provided link or diagram of the circuit.
  • #1
XuFyaN
50
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
  • #2
There's a problem with that link.
 
  • #3
The circuit is attached now, kindly have a look
 

Attachments

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

Related to Transfer function of a circuit in Matlab

1. What is a transfer function in circuit analysis?

A transfer function is a mathematical representation of the relationship between the input and output signals of a circuit. It is a ratio of the output signal to the input signal and is used to analyze the behavior and performance of a circuit.

2. How do you calculate the transfer function of a circuit in Matlab?

The transfer function can be calculated in Matlab by using the "tf" function. This function takes in the coefficients of the numerator and denominator polynomials of the transfer function and returns the transfer function in the form of a rational function.

3. What is the significance of the transfer function in circuit analysis?

The transfer function is a valuable tool in circuit analysis as it allows us to predict the output of a circuit for a given input signal. It also helps in understanding the frequency response and stability of a circuit.

4. Can the transfer function of a circuit be modified?

Yes, the transfer function of a circuit can be modified by changing the circuit components or their values. This can be done in Matlab by using the "tf" function to create a new transfer function with the desired modifications.

5. How can the transfer function be used to design a circuit?

The transfer function can be used to design a circuit by providing insights into the behavior and performance of the circuit. It can help in selecting the appropriate components and their values to achieve the desired output characteristics. Matlab also has tools for designing and simulating circuits using transfer functions.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
26
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
939
  • Engineering and Comp Sci Homework Help
Replies
7
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
481
  • Engineering and Comp Sci Homework Help
Replies
8
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
18
Views
7K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
5K
Back
Top