Preface |
|
ix | |
Acknowledgments |
|
xi | |
About the Authors |
|
xiii | |
|
1 Numerical Methods for Electrical Engineers |
|
|
1 | (6) |
|
|
1 | (1) |
|
|
2 | (1) |
|
1.3 Programming Numerical Solutions |
|
|
2 | (1) |
|
|
3 | (1) |
|
1.5 The MATLAB Programming Language |
|
|
4 | (1) |
|
1.6 Conventions in This Book |
|
|
5 | (1) |
|
|
5 | (2) |
|
|
7 | (70) |
|
|
7 | (1) |
|
|
8 | (3) |
|
2.3 Constructing a Program in MATLAB |
|
|
11 | (1) |
|
|
12 | (9) |
|
|
21 | (5) |
|
|
26 | (6) |
|
2.7 MATLAB Function Files |
|
|
32 | (4) |
|
|
36 | (1) |
|
|
36 | (10) |
|
2.10 Working with Matrices |
|
|
46 | (2) |
|
2.11 Working with Functions of a Vector |
|
|
48 | (1) |
|
2.12 Additional Examples Using Characters and Strings |
|
|
49 | (4) |
|
2.13 Interpolation and MATLAB's interpl Function |
|
|
53 | (2) |
|
2.14 MATLAB's textscan Function |
|
|
55 | (2) |
|
2.15 Exporting MATLAB Data to Excel |
|
|
57 | (1) |
|
|
58 | (2) |
|
2.17 The Parallel RLC Circuit |
|
|
60 | (3) |
|
|
63 | (1) |
|
|
63 | (13) |
|
|
76 | (1) |
|
|
77 | (32) |
|
|
77 | (1) |
|
|
77 | (5) |
|
3.3 System of Linear Equations |
|
|
82 | (5) |
|
|
87 | (5) |
|
3.5 The Gauss-Jordan Method |
|
|
92 | (2) |
|
|
94 | (1) |
|
|
95 | (5) |
|
3.8 The Eigenvalue Problem |
|
|
100 | (4) |
|
|
104 | (1) |
|
|
105 | (3) |
|
|
108 | (1) |
|
4 Roots of Algebraic and Transcendental Equations |
|
|
109 | (20) |
|
|
109 | (1) |
|
|
109 | (1) |
|
|
110 | (2) |
|
4.4 Newton-Raphson Method |
|
|
112 | (1) |
|
4.5 MATLAB's fzero and roots Functions |
|
|
113 | (6) |
|
|
114 | (4) |
|
|
118 | (1) |
|
|
119 | (9) |
|
|
128 | (1) |
|
|
129 | (28) |
|
|
129 | (1) |
|
5.2 Numerical Integration and Simpson's Rule |
|
|
129 | (4) |
|
|
133 | (2) |
|
5.4 MATLAB's quad Function |
|
|
135 | (2) |
|
|
137 | (4) |
|
|
141 | (2) |
|
5.7 MATLAB's dblquad Function |
|
|
143 | (3) |
|
|
146 | (1) |
|
|
147 | (10) |
|
6 Numerical Integration of Ordinary Differential Equations |
|
|
157 | (44) |
|
|
157 | (1) |
|
6.2 The Initial Value Problem |
|
|
158 | (1) |
|
|
158 | (2) |
|
6.4 Modified Euler Method with Predictor-Corrector Algorithm |
|
|
160 | (6) |
|
6.5 Numerical Error for Euler Algorithms |
|
|
166 | (1) |
|
6.6 The Fourth-Order Runge-Kutta Method |
|
|
167 | (2) |
|
6.7 System of Two First-Order Differential Equations |
|
|
169 | (3) |
|
6.8 A Single Second-Order Equation |
|
|
172 | (3) |
|
6.9 MATLAB's ODE Function |
|
|
175 | (4) |
|
6.10 Boundary Value Problems |
|
|
179 | (1) |
|
6.11 Solution of a Tri-Diagonal System of Linear Equations |
|
|
180 | (1) |
|
Method Summary for m equations |
|
|
181 | (2) |
|
|
183 | (3) |
|
6.13 One-Dimensional Plate Capacitor Problem |
|
|
186 | (4) |
|
|
190 | (11) |
|
|
201 | (38) |
|
|
201 | (1) |
|
7.2 Laplace Transform and Inverse Transform |
|
|
201 | (8) |
|
7.2.1 Laplace Transform of the Unit Step |
|
|
202 | (1) |
|
|
202 | (1) |
|
|
203 | (1) |
|
|
203 | (1) |
|
7.2.5 Complex Exponential |
|
|
204 | (1) |
|
|
205 | (1) |
|
|
206 | (3) |
|
7.3 Transforms of Derivatives |
|
|
209 | (1) |
|
7.4 Ordinary Differential Equations, Initial Value Problem |
|
|
210 | (10) |
|
|
220 | (3) |
|
7.6 Laplace Transforms Applied to Circuits |
|
|
223 | (4) |
|
|
227 | (1) |
|
|
228 | (1) |
|
|
229 | (3) |
|
|
232 | (7) |
|
8 Fourier Transforms and Signal Processing |
|
|
239 | (36) |
|
|
239 | (2) |
|
8.2 Mathematical Description of Periodic Signals: Fourier Series |
|
|
241 | (4) |
|
8.3 Complex Exponential Fourier Series and Fourier Transforms |
|
|
245 | (4) |
|
8.4 Properties of Fourier Transforms |
|
|
249 | (2) |
|
|
251 | (2) |
|
8.6 Discrete-Time Representation of Continuous-Time Signals |
|
|
253 | (2) |
|
8.7 Fourier Transforms of Discrete-Time Signals |
|
|
255 | (3) |
|
8.8 A Simple Discrete-Time Filter |
|
|
258 | (11) |
|
|
269 | (4) |
|
|
273 | (2) |
|
|
275 | (20) |
|
|
275 | (1) |
|
9.2 Method of Least Squares |
|
|
275 | (4) |
|
9.2.1 Best-Fit Straight Line |
|
|
275 | (2) |
|
9.2.2 Best-Fit mth-Degree Polynomial |
|
|
277 | (2) |
|
9.3 Curve Fitting with the Exponential Function |
|
|
279 | (2) |
|
9.4 MATLAB's polyfit Function |
|
|
281 | (4) |
|
|
285 | (2) |
|
9.6 The Function interpl for Cubic Spline Curve Fitting |
|
|
287 | (2) |
|
9.7 Curve Fitting with Fourier Series |
|
|
289 | (2) |
|
|
291 | (4) |
|
|
295 | (28) |
|
|
295 | (1) |
|
10.2 Unconstrained Optimization Problems |
|
|
296 | (1) |
|
10.3 Method of Steepest Descent |
|
|
297 | (4) |
|
10.4 MATLAB's fminunc Function |
|
|
301 | (1) |
|
10.5 Optimization with Constraints |
|
|
302 | (2) |
|
10.6 Lagrange Multipliers |
|
|
304 | (3) |
|
10.7 MATLAB's fmincon Function |
|
|
307 | (9) |
|
|
316 | (1) |
|
|
316 | (6) |
|
|
322 | (1) |
|
|
323 | (18) |
|
|
323 | (1) |
|
11.2 Creating a Model in Simulink |
|
|
323 | (2) |
|
11.3 Typical Building Blocks in Constructing a Model |
|
|
325 | (3) |
|
11.4 Tips for Constructing and Running Models |
|
|
328 | (1) |
|
11.5 Constructing a Subsystem |
|
|
329 | (1) |
|
11.6 Using the Mux and Fcn Blocks |
|
|
330 | (1) |
|
11.7 Using the Transfer Fcn Block |
|
|
330 | (1) |
|
11.8 Using the Relay and Switch Blocks |
|
|
331 | (3) |
|
11.9 Trigonometric Function Blocks |
|
|
334 | (3) |
|
|
337 | (1) |
|
|
337 | (2) |
|
|
339 | (2) |
Appendix A RLC Circuits |
|
341 | (12) |
Appendix B Special Characters in MATLAB® Plots |
|
353 | (4) |
MATLAB® Function Index |
|
357 | (4) |
Index |
|
361 | |