286
Practical MATLAB
® Applications for Engineers
Example 3.12
Create the script fi le phasor_time_plots that returns the circuit diagram shown in Figure 3.67, the following plots:
1. The phasor diagram for V S , V C , and V R
2. v S (t) versus t, v R (t) versus t, and v C (t) versus t
0
−100
−50
20
40
60
80
100
120
140
Real Axis
0
50
100
150
200
250
300
Imaginary Axis
Phasor Diagram
FIGURE 3.66
Phasor diagram of Example 3.11.
R = 1 Ω
C = 1 µF
v s (t ) = sin(1000*t ) V
FIGURE 3.67
Network of Example 3.12.
MATLAB Solution
% Script file: phasor _ time _ plots
clf
VS = 1;
R = 1e3;
C = 1e-6;
CRC_47760_CH003.indd 286
CRC_47760_CH003.indd 286
7/23/2008 1:27:49 PM
7/23/2008 1:27:49 PM
Précédent

- 297/708

Suivant