Basics of MATLAB and Beyond

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

I used this book as part of a computer-modeling course at Duke. I don't think it alone will make you a wiz at Matlab, but it does help you overcome that, "What did I just get myself into?" feeling. For the movice this is a very useful resource that will keep you from bouncing you head against the nearest wall while using the program.

Author(s): Andrew Knight
Edition: 1
Publisher: Chapman & Hall/CRC
Year: 2000

Language: English
Pages: 205
City: Boca Raton, FL
Tags: Библиотека;Компьютерная литература;Matlab / Simulink;

Cover.jpg......Page 1
2039_PDF_TOC.pdf......Page 2
BASICS OF MATLAB® and Beyond......Page 3
Preface......Page 5
About the Author......Page 7
Contents......Page 8
1.1 Starting MATLAB......Page 13
Frame......Page 0
1.2 First Steps......Page 14
1.4 Variables......Page 15
1.7 Plotting Vectors......Page 16
2.2 Smart Recall......Page 17
3.1 Typing Matrices......Page 18
3.3 Useful Matrix Generators......Page 19
3.4 Subscripting......Page 20
3.5 End as a subscript......Page 22
3.7 Matrix Arithmetic......Page 23
4 Basic Graphics......Page 24
4.1 Plotting Many Lines......Page 25
4.2 Adding Plots......Page 26
4.3 Plotting Matrices......Page 27
4.5 Subplots......Page 28
4.6 Three-Dimensional Plots......Page 29
4.8 Labels......Page 30
5 More Matrix Algebra......Page 31
6 Basic Data Analysis......Page 33
7.1 Basic Plots......Page 36
7.2 Colour Maps......Page 40
7.4 Good and Bad Colour Maps......Page 42
7.5 Extracting Logical Domains......Page 43
7.6 Nonrectangular Surface Domains......Page 44
8.1 Scripts......Page 48
8.2 Functions......Page 49
If, Else, Elseif......Page 51
While......Page 52
For......Page 53
Vectorised Code......Page 54
9 Data Files......Page 55
9.3 Other Formats......Page 56
10 Directories......Page 57
13 Log Scales......Page 58
14 Curve Fitting —Matrix Division......Page 59
15 Missing Data......Page 61
16 Polar Plots......Page 63
17 Fourier Transform......Page 64
18 Power Spectrum......Page 67
19 Sounds in MATLAB......Page 68
20 Time-Frequency Analysis......Page 69
21 Line Animation......Page 71
22 SP Tool......Page 72
23 Handle Graphics......Page 75
23.2 Set and Get......Page 77
23.3 Graphical Object Hierarchy......Page 78
Example: Line Width......Page 79
24 Demos......Page 80
25 Sparse Arrays......Page 82
25.1 Example: Airfoil......Page 83
25.2 Example: Communication Network......Page 84
26 Text Strings......Page 85
26.1 String Matrices......Page 86
26.3 String Manipulations......Page 87
26.4 Converting Numbers to Strings......Page 88
The eval Function......Page 91
Inline Objects......Page 93
27 Cell Arrays......Page 94
28 Structures......Page 98
28.1 Example: Meteorological Database......Page 99
28.2 Example: Capturing the List of Variables......Page 101
29 Multidimensional Arrays......Page 102
29.1 Generating Multidimensional Grids......Page 104
29.2 Operations with Multidimensional Arrays......Page 106
Introduction to RGB Images......Page 107
29.4 Example: Sonar......Page 109
29.5 Multidimensional Cell Arrays......Page 111
29.6 Multidimensional Structures......Page 112
30.1 MATLAB Format......Page 113
30.2 Other Formats......Page 115
31 Handle Graphics......Page 118
31.1 Get and Set......Page 119
Example: Undo......Page 122
Example: Figure Positioning......Page 125
Example: findobj......Page 127
31.2 Default Object Properties......Page 128
31.3 Current Objects......Page 129
32.1 The Axis Command......Page 130
32.2 Tick Marks and Labels......Page 135
32.3 Subplots......Page 137
32.5 Axes Labels......Page 139
33 Text in Graphics......Page 140
33.1 Symbols and Greek Letters......Page 141
33.2 Symbols in Tick Labels......Page 142
33.3 Global Object Placement......Page 143
34 Graphical User Interfaces......Page 144
34.1 Callbacks......Page 146
Text......Page 148
Slider......Page 150
Listbox......Page 151
34.3 Exclusive Radio Buttons......Page 152
Globals......Page 153
Variables in UserData......Page 154
34.6 UIMenus......Page 155
34.7 Fast Drawing......Page 157
34.8 Guide......Page 158
35 Printing Graphics......Page 160
Portrait......Page 161
General Comments......Page 162
PostScript and Encapsulated PostScript......Page 163
LATEX: Version 2e......Page 165
LATEX: Version 2.09......Page 166
CorelDraw......Page 167
36 Irregular Grids......Page 168
36.1 Interpolation over a Rectangular Grid......Page 169
36.2 Triangular Gridding......Page 170
37.1 Patches......Page 171
Three-dimensional Patches......Page 173
Patch Colouring......Page 177
37.2 Light Objects......Page 182
38.1 Vectorising Code......Page 186
38.2 M-File Subfunctions......Page 190
38.4 Profiler......Page 191
Profile in MATLAB 5.2......Page 192
Profile in MATLAB 5.3......Page 193
Exercise 4 (Page 49)......Page 194
Exercise 5 (Page 55)......Page 196
Exercise 6 (Page 59)......Page 197
Exercise 8 (Page 75)......Page 198
Exercise 10 (Page 83)......Page 199
Exercise 13 (Page 97)......Page 200
Exercise 14 (Page 115)......Page 201
Exercise 17 (Page 123)......Page 202
Exercise 21 (Page 164)......Page 203
Exercise 22 (Page 171)......Page 204