Preface |
|
xvii | |
|
|
1 | (4) |
|
|
1 | (1) |
|
Typographical Conventions |
|
|
2 | (1) |
|
|
2 | (1) |
|
What's in Mastering Matlab 6 |
|
|
3 | (2) |
|
|
5 | (16) |
|
|
5 | (2) |
|
|
7 | (1) |
|
|
8 | (2) |
|
Comments, Punctuation, and Aborting Execution |
|
|
10 | (2) |
|
|
12 | (2) |
|
Floating-Point Arithmetic |
|
|
14 | (1) |
|
|
15 | (6) |
|
|
21 | (10) |
|
|
22 | (1) |
|
Managing the MATLAB Workspace |
|
|
22 | (3) |
|
|
25 | (1) |
|
|
25 | (1) |
|
|
26 | (1) |
|
|
27 | (1) |
|
|
28 | (3) |
|
|
31 | (6) |
|
|
31 | (4) |
|
|
35 | (2) |
|
Arrays and Array Operations |
|
|
37 | (48) |
|
|
37 | (1) |
|
Array Addressing or Indexing |
|
|
38 | (2) |
|
|
40 | (3) |
|
|
43 | (3) |
|
|
46 | (1) |
|
|
47 | (5) |
|
|
52 | (4) |
|
|
56 | (11) |
|
|
67 | (2) |
|
|
69 | (5) |
|
Array Manipulation Functions |
|
|
74 | (4) |
|
|
78 | (2) |
|
Arrays and Memory Utilization |
|
|
80 | (5) |
|
|
85 | (16) |
|
|
86 | (3) |
|
Array Mathematics and Manipulation |
|
|
89 | (8) |
|
|
97 | (4) |
|
Cell Arrays and Structures |
|
|
101 | (28) |
|
|
102 | (3) |
|
|
105 | (2) |
|
Retrieving Cell Array Contents |
|
|
107 | (2) |
|
|
109 | (3) |
|
|
112 | (2) |
|
|
114 | (1) |
|
|
115 | (4) |
|
|
119 | (2) |
|
Retrieving Structure Content |
|
|
121 | (1) |
|
Comma-Separated Lists (Again) |
|
|
122 | (3) |
|
|
125 | (4) |
|
|
129 | (22) |
|
|
129 | (5) |
|
Numbers to Strings to Numbers |
|
|
134 | (6) |
|
|
140 | (3) |
|
|
143 | (3) |
|
|
146 | (5) |
|
Relational and Logical Operations |
|
|
151 | (12) |
|
|
152 | (3) |
|
|
155 | (1) |
|
|
156 | (1) |
|
Relational and Logical Functions |
|
|
157 | (2) |
|
|
159 | (4) |
|
|
163 | (12) |
|
|
163 | (4) |
|
|
167 | (1) |
|
If-Else-End Constructions |
|
|
168 | (3) |
|
Switch-Case Constructions |
|
|
171 | (1) |
|
|
172 | (3) |
|
|
175 | (20) |
|
M-file Construction Rules |
|
|
176 | (2) |
|
Input and Output Arguments |
|
|
178 | (3) |
|
|
181 | (5) |
|
Functions and the Matlab Search Path |
|
|
186 | (2) |
|
Creating Your Own Toolbox |
|
|
188 | (1) |
|
|
189 | (1) |
|
Function Evaluation Using feval |
|
|
190 | (5) |
|
M-File Debugging and Profiling |
|
|
195 | (8) |
|
|
195 | (2) |
|
|
197 | (2) |
|
|
199 | (4) |
|
File and Directory Management |
|
|
203 | (12) |
|
|
203 | (3) |
|
|
206 | (2) |
|
|
208 | (1) |
|
|
209 | (6) |
|
Set, Bit, and Base Functions |
|
|
215 | (6) |
|
|
215 | (4) |
|
|
219 | (1) |
|
|
220 | (1) |
|
|
221 | (10) |
|
|
221 | (1) |
|
|
222 | (3) |
|
|
225 | (1) |
|
|
226 | (1) |
|
|
227 | (4) |
|
|
231 | (12) |
|
|
232 | (3) |
|
|
235 | (2) |
|
|
237 | (1) |
|
|
238 | (2) |
|
|
240 | (3) |
|
|
243 | (16) |
|
Basic Statistical Analysis |
|
|
244 | (9) |
|
|
253 | (4) |
|
Data Analysis and Statistical Functions |
|
|
257 | (2) |
|
|
259 | (16) |
|
One-Dimensional Interpolation |
|
|
259 | (5) |
|
Two-Dimensional Interpolation |
|
|
264 | (4) |
|
Triangulation and Scattered Data |
|
|
268 | (5) |
|
|
273 | (2) |
|
|
275 | (10) |
|
|
275 | (1) |
|
|
276 | (1) |
|
|
276 | (2) |
|
|
278 | (1) |
|
Derivatives and Integrals |
|
|
278 | (1) |
|
|
279 | (1) |
|
|
279 | (2) |
|
|
281 | (4) |
|
|
285 | (14) |
|
|
285 | (1) |
|
|
286 | (3) |
|
Cubic Hermite Polynomials |
|
|
289 | (2) |
|
|
291 | (2) |
|
|
293 | (2) |
|
Spline Interpolation on a Plane |
|
|
295 | (4) |
|
|
299 | (10) |
|
Discrete Fourier Transform |
|
|
300 | (3) |
|
|
303 | (6) |
|
|
309 | (12) |
|
|
310 | (4) |
|
Minimization in One Dimension |
|
|
314 | (2) |
|
Minimization in Higher Dimensions |
|
|
316 | (3) |
|
|
319 | (2) |
|
Integration and Differentiation |
|
|
321 | (12) |
|
|
321 | (5) |
|
|
326 | (7) |
|
|
333 | (16) |
|
|
334 | (1) |
|
|
334 | (2) |
|
|
336 | (4) |
|
|
340 | (6) |
|
|
346 | (3) |
|
|
349 | (32) |
|
|
349 | (1) |
|
Linestyles, Markers, and Colors |
|
|
350 | (3) |
|
Plot Grids, Axes Box, and Labels |
|
|
353 | (2) |
|
|
355 | (3) |
|
|
358 | (1) |
|
|
359 | (1) |
|
|
360 | (1) |
|
Interactive Plotting Tools |
|
|
361 | (2) |
|
|
363 | (1) |
|
|
363 | (9) |
|
|
372 | (2) |
|
|
374 | (3) |
|
|
377 | (4) |
|
Three-Dimensional Graphics |
|
|
381 | (40) |
|
|
381 | (3) |
|
Scalar Functions of Two Variables |
|
|
384 | (3) |
|
|
387 | (3) |
|
|
390 | (6) |
|
Mesh and Surface Plots of Irregular Data |
|
|
396 | (2) |
|
|
398 | (2) |
|
|
400 | (1) |
|
|
401 | (4) |
|
|
405 | (4) |
|
|
409 | (6) |
|
|
415 | (1) |
|
|
416 | (5) |
|
|
421 | (16) |
|
|
422 | (1) |
|
|
423 | (1) |
|
|
424 | (2) |
|
Creating and Altering Colormaps |
|
|
426 | (2) |
|
Using Color to Describe a Fourth Dimension |
|
|
428 | (3) |
|
|
431 | (3) |
|
|
434 | (3) |
|
Images, Movies, and Sound |
|
|
437 | (12) |
|
|
437 | (2) |
|
|
439 | (1) |
|
|
440 | (3) |
|
|
443 | (1) |
|
|
444 | (1) |
|
|
445 | (1) |
|
|
446 | (3) |
|
Printing and Exporting Graphics |
|
|
449 | (14) |
|
Printing and Exporting Using Menus |
|
|
450 | (2) |
|
Command Line Printing and Exporting |
|
|
452 | (1) |
|
Printers and Export File Formats |
|
|
453 | (3) |
|
|
456 | (1) |
|
|
457 | (1) |
|
Handle Graphics Properties |
|
|
458 | (3) |
|
|
461 | (1) |
|
|
462 | (1) |
|
|
463 | (32) |
|
|
463 | (1) |
|
|
464 | (2) |
|
|
466 | (1) |
|
|
466 | (8) |
|
|
474 | (1) |
|
Selecting Objects with the Mouse |
|
|
475 | (1) |
|
|
476 | (3) |
|
|
479 | (2) |
|
|
481 | (3) |
|
|
484 | (1) |
|
|
485 | (1) |
|
|
486 | (1) |
|
|
487 | (4) |
|
|
491 | (4) |
|
Graphical User Interfaces |
|
|
495 | (26) |
|
|
495 | (1) |
|
Who Should Create GUIs and Why? |
|
|
496 | (1) |
|
|
497 | (1) |
|
|
497 | (1) |
|
Menu and Submenu Creation |
|
|
498 | (1) |
|
|
498 | (2) |
|
|
500 | (1) |
|
|
500 | (1) |
|
|
501 | (1) |
|
|
502 | (2) |
|
|
504 | (3) |
|
Control Size and Font Selection |
|
|
507 | (1) |
|
|
507 | (2) |
|
|
509 | (1) |
|
|
510 | (3) |
|
|
513 | (4) |
|
|
517 | (1) |
|
|
517 | (4) |
|
|
521 | (8) |
|
|
521 | (3) |
|
|
524 | (1) |
|
|
525 | (1) |
|
|
526 | (2) |
|
|
528 | (1) |
|
Matlab Classes and Object-Oriented Programming |
|
|
529 | (32) |
|
|
530 | (7) |
|
|
537 | (12) |
|
|
549 | (9) |
|
|
558 | (1) |
|
Precedence, Inheritance, and Aggregation |
|
|
559 | (2) |
|
Matlab Programming Interfaces |
|
|
561 | (42) |
|
|
562 | (2) |
|
Calling C or Fortran from Matlab |
|
|
564 | (19) |
|
Calling Matlab from C or Fortran |
|
|
583 | (10) |
|
Exchanging Data with MAT-files |
|
|
593 | (9) |
|
|
602 | (1) |
|
Extending Matlab With Java |
|
|
603 | (38) |
|
|
603 | (2) |
|
|
605 | (1) |
|
|
606 | (2) |
|
|
608 | (2) |
|
|
610 | (2) |
|
|
612 | (3) |
|
|
615 | (11) |
|
|
626 | (1) |
|
|
627 | (12) |
|
|
639 | (2) |
|
Windows Application Integration |
|
|
641 | (24) |
|
ActiveX: Client/Server Communication |
|
|
642 | (13) |
|
|
655 | (4) |
|
|
659 | (4) |
|
|
663 | (2) |
|
|
665 | (6) |
|
|
665 | (2) |
|
|
667 | (1) |
|
|
668 | (1) |
|
|
668 | (1) |
|
|
668 | (3) |
|
Examples, Examples, Examples |
|
|
671 | (132) |
|
|
671 | (2) |
|
|
673 | (6) |
|
|
679 | (6) |
|
Repeated Value Creation and Counting |
|
|
685 | (11) |
|
|
696 | (7) |
|
|
703 | (6) |
|
|
709 | (3) |
|
|
712 | (8) |
|
|
720 | (9) |
|
|
729 | (5) |
|
|
734 | (10) |
|
|
744 | (1) |
APPENDICES |
|
|
A: Common Handle Graphics Properties |
|
|
745 | (4) |
|
B: Axes Object Properties |
|
|
749 | (8) |
|
C: Figure Object Properties |
|
|
757 | (8) |
|
D: Image Object Properties |
|
|
765 | (2) |
|
E: Light Object Properties |
|
|
767 | (2) |
|
F: Line Object Properties |
|
|
769 | (4) |
|
G: Patch Object Properties |
|
|
773 | (6) |
|
H: Rectangle Object Properties |
|
|
779 | (2) |
|
I: Root Object Properties |
|
|
781 | (4) |
|
J: Surface Object Properties |
|
|
785 | (6) |
|
K: Text Object Properties |
|
|
791 | (4) |
|
L: Uicontextmenu and Uimenu Object Properties |
|
|
795 | (4) |
|
M: Uicontrol Object Properties |
|
|
799 | (4) |
Index |
|
803 | |