440 Practical MATLAB® Applications for Engineers
- Use MATLAB and obtain expressions for I 1 (s) and I 2 (s)
- Use MATLAB to evaluate the initial- and fi nal value of each loop current by apply-
ing the initial and fi nal value theorems - Use MATLAB to obtain solutions for i 1 (t) and i 2 (t), for t ≥ 0
- Use MATLAB to obtain plots of i 1 (t) versus t and i 2 (t) versus t, for t ≥ 0
- Discuss the results obtained
The MATLAB solution is given as follows by the script fi le loop_diffeqs:
ANALYTICAL Solution
Part 1
The loop equations in the time domain for t ≥ 0 are100 20 10010 201
1212
2ut
di t
dtit itit it
di t
d()
()
() ()() ()
()
ttPart 2
The loop equations in the frequency domain are100
20 10010 201212ssIsIsIs s Is( ) () ()() ( ) ()Part 3
The matrix loop equation of the network in the frequency domain is given by100
020 10
10 201
2
ss
sIs
Is
()
()V 1 = 100 VR1 = 10 Ω L1 = 1 Hi 1 (t)
i 2 (t)sw closes at t = 0L2 = 1 HR2 = 10 Ω R3 = 10 ΩFIGURE 4.85
Circuit diagram of Example 4.21.