- Page 1 and 2:
Getting Started with MATLAB Updated
- Page 3 and 4:
Getting Started with MATLAB A Quick
- Page 5:
To Ma Gayatri and my parents Shri C
- Page 8 and 9:
viii Contents 3 Interactive Computa
- Page 10 and 11:
X Contents 6.3 3-D Plots . . . . .
- Page 12 and 13:
Preface I enjoy MATLAB, and I want
- Page 14 and 15:
xiv Preface Acknowledgments I was h
- Page 16 and 17:
2 Introduction MATLAB 0 Graphics
- Page 18 and 19:
4 lntrod uctiun -- 1.4 Where Do I G
- Page 20 and 21:
6 Introduction MATLAB prompt. In MA
- Page 22 and 23:
8 Introduction MATLAB Desktop ! Cur
- Page 24 and 25:
10 Introduction commands from even
- Page 26 and 27:
12 Introduction 1.6.6 General comma
- Page 28 and 29:
c;,\e \"', t sfmpl TPBYUl§l CC
- Page 30 and 31:
16 Tutorial Lessons The Basics Here
- Page 32 and 33:
18 Tutorial Lessons » 2 + 2 ans 4
- Page 34 and 35:
20 Tutorial Lessons Answers to Exer
- Page 36 and 37:
22 Tutorial Lessons >> X [1 2 3} x
- Page 38 and 39:
24 Tutorial Lessons Answers to Exer
- Page 40 and 41:
26 Tutorial Lessons » theta. ""·
- Page 42 and 43:
28 Tutorial Lessons Answers to Exer
- Page 44 and 45:
30 Tutorial Lessons 3. Write and sa
- Page 46 and 47:
32 Tutorial Lessons Answers to Exer
- Page 48 and 49:
34 Tutorial Lessons 3. Now write an
- Page 50 and 51:
36 Tutorial Lessons Answers to Exer
- Page 52 and 53:
38 Tutorial Lessons -- Directional
- Page 54 and 55:
40 Tutorial Lessons » A= [l 2 3; 4
- Page 56 and 57:
42 Tutorial Lessons EXERCISES 1. En
- Page 58 and 59:
44 Tutorial Lessons >> f @(x) xA3 -
- Page 60 and 61:
46 Tutorial Lessons EXERCISES 1. Cr
- Page 62 and 63:
48 Tutorial Lessons >> syms x y >>
- Page 64 and 65:
50 Tutorial Lessons EXERCISES 1. So
- Page 66 and 67:
52 Tutorial Lessons >> clear al l >
- Page 68 and 69:
54 Tutorial Lesson; EXERCISES 1. Wo
- Page 70 and 71:
56 Tutorial Lessons >> pwd Print (s
- Page 72 and 73:
58 Tutorial Lessons 2.11 Lesson 11:
- Page 74 and 75:
60 Tutorial Lessons EXERCISES 1. Us
- Page 77 and 78:
Interactive • Computation In prin
- Page 79 and 80:
3.1 Matrices and Vectors 65 3.1 Mat
- Page 81 and 82:
3.1 Matrices and Vectors 67 »A ran
- Page 83 and 84:
3.1 Matrices and Vectors 69 Transpo
- Page 85 and 86:
3.1 Matrices and Vectors 71 » eye
- Page 87 and 88:
3.2 Matrix and Array Operations 73
- Page 89 and 90:
3.2 Matrix and Array Operations 75
- Page 91 and 92:
3.3 Character strings 77 Round-off
- Page 93 and 94:
3.3 Character strings 79 howdy = ['
- Page 95 and 96:
3 .4 A Special Note on Array Operat
- Page 97 and 98: 3.5 Command-Line Functions 83 3.5 C
- Page 99 and 100: 3.6 Using Built-in Functions and On
- Page 101 and 102: 3.6 Using Built-in Functions and On
- Page 103 and 104: 3.6 Using Built-in Functions and On
- Page 105 and 106: 3. 7 Saving and Loading Data 91 You
- Page 107 and 108: 3.8 Plotting Simple Graphs 93 >> X
- Page 109 and 110: 3.8 Plotting Simple Graphs 95 90 18
- Page 111: 3.8 Plotting Simple Graphs 97 EXERC
- Page 114 and 115: 100 Programming in MATLAB: Scripts
- Page 116 and 117: 102 Programming in MATLAB: Scripts
- Page 118 and 119: 104 Programming in MATLAB: Scripts
- Page 120 and 121: 106 Programming in MATLAB: Scripts
- Page 122 and 123: 108 Programming in MATLAB: Scripts
- Page 124 and 125: 110 Programming in MATLAB: Scripts
- Page 126 and 127: 112 Programming in MATLAB: Scripts
- Page 128 and 129: 114 Programming in MATLAB: Scripts
- Page 130 and 131: 116 Programming in MATLAB: Scripts
- Page 132 and 133: 118 Programming in MATLAB: Scripts
- Page 134 and 135: 120 Programming in MATLAB: Scripts
- Page 136 and 137: 122 Programming in MATLAB: Scripts
- Page 138 and 139: 124 Programming in MATLAB: Scripts
- Page 140 and 141: 126 Programming in MATLAB: Scripts
- Page 142 and 143: 128 Programming in MATLAB: Scripts
- Page 144 and 145: 130 Programming in MATLAB: Scripts
- Page 146 and 147: 132 Programming in MATLAB: Scripts
- Page 150 and 151: 136 Applications A, and the constan
- Page 152 and 153: 138 Applications Step 2: Extract wh
- Page 154 and 155: 140 Applications gives you options
- Page 156 and 157: 142 Applications 1.2 y= 0.25"x 2+1.
- Page 158 and 159: 144 Applications 0.9 0.8 0.7 0.6 @
- Page 160 and 161: 146 Applications % Fit a 1st order
- Page 162 and 163: 148 Applications fiii§Jifil One-di
- Page 164 and 165: 150 Applications Tools menu of l!c
- Page 166 and 167: 152 Applications III computes the d
- Page 168 and 169: 154 Applications function y = erfco
- Page 170 and 171: 156 Applications this triangular re
- Page 172 and 173: 158 Applications Step 1: Write the
- Page 174 and 175: 160 Applications Step 2: Write a fu
- Page 176 and 177: 162 Applications RelTol Solver Good
- Page 178 and 179: 164 Application There arc three new
- Page 180 and 181: 166 Applications Event specificatio
- Page 182 and 183: 168 Applications % RUNPROJ: a scrip
- Page 184 and 185: 170 Applications Zero of f(x) = sin
- Page 186 and 187: 172 Applications EXERCISES 1 . Line
- Page 189 and 190: • Graphics MATLAB includes good t
- Page 191 and 192: 6.1 Basic 2-D Plots 177 Legend Lege
- Page 193 and 194: 6.1 Basic 2-D Plots 179 6.1.5 Overl
- Page 195 and 196: 6.1 Basic 2-D Plots 181 Method 3: U
- Page 197 and 198: 6.1 Basic 2-D Plots 183 6.1.6 Speci
- Page 199 and 200:
6.1 Basic 2-D Plots 185 Function Ex
- Page 201 and 202:
6.1 Basic 2-D Plots 187 I Function
- Page 203 and 204:
6.2 Using subplot fo r Multiple Gra
- Page 205 and 206:
6.3 3-D Plots 191 A circular helix:
- Page 207 and 208:
6.3 3-D Plots 193 6.3.3 Mesh and su
- Page 209 and 210:
6.3 3-D Plots 195 Plot created by m
- Page 211 and 212:
6.3 3-D Plots 197 Function Example
- Page 213 and 214:
6.3 3-D Plots 199 Function Example
- Page 215 and 216:
6.3 3-D Plots 201 6.3.4 Vector fiel
- Page 217 and 218:
6.3 3-D Plots 203 6.3.5 Interpolate
- Page 219 and 220:
6.4 Handle Graphics 205 6.4 Handle
- Page 221 and 222:
6.4 Handle Graphics 207 property va
- Page 223 and 224:
6.4 Handle Graphics Example Script
- Page 225 and 226:
6.4 Handle Graphics 211 Understandi
- Page 227 and 228:
6.4 Handle Graphics 213 0.8 0.6 0.4
- Page 229 and 230:
6.5 Fun with 3-D Surface Graphics 2
- Page 231 and 232:
6.5 Fun with 3-D Surface Graphics 2
- Page 233 and 234:
6.6 Saving and Printing Graphs 219
- Page 235 and 236:
6. 7 Animation 221 6. 7 Animation W
- Page 237 and 238:
6. 7 Animation 223 Example 1: A bea
- Page 239 and 240:
6. 7 Animation 225 Example 3: A bar
- Page 241:
6. 7 Animation 227 data = [0 0; - 1
- Page 244 and 245:
230 Errors 2. » (x,y) = circlefn (
- Page 246 and 247:
232 Errors Here Circle is a script
- Page 249 and 250:
Computer Algebra and The Symbolic
- Page 251 and 252:
8.2 Numeric Versus Symbolic Computa
- Page 253 and 254:
8.3 Getting help with the Symbolic
- Page 255 and 256:
8.4 Using the Symbolic Math Toolbox
- Page 257 and 258:
8.5 Using MuPAD Notebook 243 8.4.4
- Page 259 and 260:
8.5 Using MuPAD Notebook 245 Define
- Page 261 and 262:
8.5 Using MuPAD Notebook 247 With t
- Page 263 and 264:
8.0 Summary: Some Symbolic Math Too
- Page 265 and 266:
The MA T LAB Language • Reference
- Page 267 and 268:
A.2 General-purpose Commands 253 A.
- Page 269 and 270:
A.6 Operators and Logical Functions
- Page 271 and 272:
A.8 Matrices: Creation and Manipula
- Page 273 and 274:
A.lO Graphics Functions 259 Axis Co
- Page 275:
Bibliography [1] MA TLAIJ® 'l Desk
- Page 278 and 279:
264 Index cell2mat , 53 celldisp, 1
- Page 280 and 281:
266 Index floor, 77 fminbnd, 171 fm
- Page 282 and 283:
268 Index while, 111, 114 ls, 12, 5
- Page 284 and 285:
270 Index publish configuration edi
- Page 286:
272 Index what , 12, 56 whatsnew, 2