Introduction |
|
x | |
Purpose of this text |
|
x | |
Software for Electrical Engineers |
|
xi | |
Formatting conventions |
|
xiv | |
|
Chapter 1 Introduction to MATLAB |
|
|
1 | (36) |
|
|
1 | (1) |
|
Starting MATLAB and the workspace |
|
|
1 | (2) |
|
Using MATLAB as a calculator |
|
|
3 | (4) |
|
|
7 | (1) |
|
Naming and inspecting variables |
|
|
8 | (2) |
|
Parentheses and implied multiplication |
|
|
10 | (4) |
|
Special symbols: i, j, and π |
|
|
14 | (1) |
|
|
14 | (1) |
|
|
15 | (1) |
|
Exponentials and their inverses: exp, ˆ, sqrt, log, log10 |
|
|
16 | (1) |
|
Trig functions and their inverses |
|
|
17 | (1) |
|
|
18 | (3) |
|
|
21 | (1) |
|
|
22 | (1) |
|
|
23 | (1) |
|
Saving and loading variables |
|
|
24 | (1) |
|
|
25 | (3) |
|
|
28 | (2) |
|
|
30 | (7) |
|
Chapter 2 MATLAB as a Calculator |
|
|
37 | (42) |
|
|
37 | (1) |
|
Rounding and separating numbers |
|
|
38 | (1) |
|
|
38 | (1) |
|
|
38 | (6) |
|
|
44 | (5) |
|
|
49 | (4) |
|
|
53 | (1) |
|
|
54 | (3) |
|
|
57 | (1) |
|
|
58 | (2) |
|
|
60 | (3) |
|
|
63 | (3) |
|
Solving simultaneous equations using matrices |
|
|
66 | (3) |
|
|
69 | (8) |
|
|
77 | (2) |
|
Chapter 3 MATLAB Graphics |
|
|
79 | (48) |
|
|
79 | (1) |
|
|
80 | (7) |
|
|
87 | (7) |
|
Line plots with multiple lines |
|
|
94 | (3) |
|
|
97 | (3) |
|
|
100 | (2) |
|
Layering plot commands using hold() |
|
|
102 | (2) |
|
|
104 | (2) |
|
|
106 | (2) |
|
|
108 | (4) |
|
|
112 | (2) |
|
|
114 | (1) |
|
Three-dimensional MATLAB plots |
|
|
115 | (4) |
|
|
119 | (1) |
|
|
120 | (1) |
|
Chapter 4 MATLAB Programming |
|
|
121 | (6) |
|
|
127 | (1) |
|
|
128 | (1) |
|
|
129 | (2) |
|
|
131 | (5) |
|
|
136 | (4) |
|
Creating your own functions |
|
|
140 | (1) |
|
|
141 | (1) |
|
|
142 | (1) |
|
More complex function examples |
|
|
143 | (3) |
|
|
146 | (3) |
|
|
149 | (1) |
|
|
150 | (1) |
|
Logical operations on vectors and matrices |
|
|
151 | (3) |
|
Conditional branching: if-end |
|
|
154 | (2) |
|
Conditional branching: if-else-end |
|
|
156 | (1) |
|
Conditional branching: if-elseif-else-end |
|
|
157 | (1) |
|
Creating strings with embedded numbers |
|
|
158 | (10) |
|
|
168 | (1) |
|
|
169 | (2) |
|
Chapter 5 Programming II: Looping |
|
|
171 | (6) |
|
|
177 | (1) |
|
|
178 | (1) |
|
|
178 | (2) |
|
For-end loops indexing vectors |
|
|
180 | (7) |
|
|
187 | (2) |
|
Using nested loops to search for exact solutions |
|
|
189 | (2) |
|
Using nested loops to search for best solutions |
|
|
191 | (2) |
|
|
193 | (1) |
|
Functions calling functions |
|
|
194 | (1) |
|
|
195 | (1) |
|
Multiple functions in one m-file |
|
|
196 | (1) |
|
|
197 | (1) |
|
Growing versus pre-allocating vectors |
|
|
198 | (6) |
|
|
204 | (1) |
|
|
205 | (2) |
|
|
227 | (1) |
|
|
227 | (1) |
|
|
227 | (1) |
|
|
228 | (1) |
|
|
229 | (1) |
|
|
229 | (3) |
|
|
232 | (5) |
|
Types of LTspice simulations |
|
|
237 | (1) |
|
DC simulation walkthrough |
|
|
238 | (8) |
|
|
246 | (5) |
|
|
251 | (4) |
|
|
255 | (4) |
|
|
259 | (1) |
|
|
260 | |
|
|
|
|
5 | (6) |
|
Voltage, current, charge, and resistance |
|
|
11 | (2) |
|
|
13 | (6) |
|
Using a digital multimeter (DIVIIVI) to measure steady voltage |
|
|
19 | (23) |
|
|
42 | (14) |
|
Resistors in series and parallel |
|
|
56 | (9) |
|
Mesh and nodal analysis methods |
|
|
65 | (2) |
|
|
67 | (21) |
|
|
88 | (2) |
|
|
90 | (2) |
|
|
92 | (21) |
|
|
113 | (47) |
|
|
160 | (2) |
|
|
162 | (1) |
|
|
163 | (21) |
|
|
184 | (16) |
|
|
200 | (30) |
|
|
230 | (12) |
|
Power versus energy (work) |
|
|
242 | (3) |
|
|
245 | (4) |
|
|
249 | |
|
|
|
|
7 | (19) |
|
Careers in Electrical Engineering |
|
|
26 | (22) |
|
Buying a digital multimeter (DMM) |
|
|
48 | (14) |
|
|
62 | (37) |
|
Professional licensure (PE) |
|
|
99 | (19) |
|
|
118 | (29) |
|
|
147 | (18) |
|
Industry or graduate school? |
|
|
165 | (25) |
|
|
190 | (12) |
|
Fundamentals of engineering |
|
|
202 | (41) |
|
|
243 | (14) |
|
|
257 | (6) |
Index |
|
263 | |