PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB
170 Practical MATLAB® Applications for Engineers MATLAB Solution % script file: Thevenin % The Thevenin’s equivalent circuit % c ...
Direct Current and Transient Analysis 171 VR(t) versus t, where VR(t) = Ri(t) VL(t) versus t, where VL(t) = L di(t) ____dt ...
172 Practical MATLAB® Applications for Engineers figure(3) inti = int(iamps); ezplot (inti,[0,3]) xlabel(‘ time ‘);ylabel(‘integ ...
Direct Current and Transient Analysis 173 FIGURE 2.69 Plot of i(t) of Example 2.22 MATLAB Figure (1). 0 0.5 1 1.5 2 2.5 3 −0.6 − ...
174 Practical MATLAB® Applications for Engineers FIGURE 2.72 Plot of di(t)____dt of Example 2.22 MATLAB Figure (4). 0 0.5 1 1.5 ...
Direct Current and Transient Analysis 175 FIGURE 2.73 Plot of the voltage across R of Example 2.22 MATLAB Figure (5). 0 0.5 1 1. ...
176 Practical MATLAB® Applications for Engineers FIGURE 2.75 Plot of the sum of the voltage across R and L of Example 2.22 Figur ...
Direct Current and Transient Analysis 177 FIGURE 2.77 Plot of the sum of the voltage across R and C of Example 2.22 Figure (9). ...
178 Practical MATLAB® Applications for Engineers FIGURE 2.79 Plot of the power of L of Example 2.22 MATLAB Figure (11). 0 0.5 1 ...
Direct Current and Transient Analysis 179 ANALYTICAL Solution Part a The loop differential equation, as well as its current solu ...
180 Practical MATLAB® Applications for Engineers The script fi le RL is executed and the results and plots (Figure 2.82) are sho ...
Direct Current and Transient Analysis 181 MATLAB Solution % Script file: RL _ vol _ plots itR _ 1=dsolve(‘Dy+y=10’,’y(0)=0’,’t’) ...
182 Practical MATLAB® Applications for Engineers ******************************************** vr _ 1 = 10 - 10*exp(-t) ********* ...
Direct Current and Transient Analysis 183 Example 2.25 The switch of the circuit diagram shown in Figure 2.85 is open for t < ...
184 Practical MATLAB® Applications for Engineers then vR(t) = V 0 − vC(t) = Ve−t/ for R = 1, 2, and 5 Ω and it() vt R V R R e ...
Direct Current and Transient Analysis 185 grid on;axis([0 3 0 11]) xlabel(‘time t/sec’) ylabel(‘voltage ‘) title(‘Voltages acros ...
186 Practical MATLAB® Applications for Engineers ********************************************************* iR2 = 5*exp(-t) ***** ...
Direct Current and Transient Analysis 187 Example 2.26 Steady-state conditions exist in the network shown in Figure 2.89 at t = ...
188 Practical MATLAB® Applications for Engineers ANALYTICAL Solution The loop differential equation is given by V di t dt 1 ^ ...
Direct Current and Transient Analysis 189 figure(2) subplot(3,1,1) plot(t,it) title(‘plots of [i(t), vr(t), and vL(t)] vs t’) yl ...
«
5
6
7
8
9
10
11
12
13
14
»
Free download pdf