- #1
magnifik
- 360
- 0
I have to solve for i(t) in the following circuit:
i am wondering what the best way to approach this problem is. does the loop current method work in this case if i define all the currents to be flowing clockwise?
in other words,
>> A = [3 -1 -2; -1 4 0; -2 0 2]; % matrix A
>> b = [v1; -v2; v2]; % matrix b
x = A\b % solve for the currents
x =
[ 4/3 v1 + v2 ]
[ ]
[ 1/3 v1 ]
[ ]
[4/3 v1 + 3/2 v2]
so i(t) = (4/3)v1 + (3/2)v2
i am wondering what the best way to approach this problem is. does the loop current method work in this case if i define all the currents to be flowing clockwise?
in other words,
>> A = [3 -1 -2; -1 4 0; -2 0 2]; % matrix A
>> b = [v1; -v2; v2]; % matrix b
x = A\b % solve for the currents
x =
[ 4/3 v1 + v2 ]
[ ]
[ 1/3 v1 ]
[ ]
[4/3 v1 + 3/2 v2]
so i(t) = (4/3)v1 + (3/2)v2
Last edited: