Refer a friend and get % off! They'll get % off too.

Matlab Succinctly

In MATLAB Succinctly, Learn the essential skills needed to use the flexible MATLAB system. You will be able to apply the highly modular system towards the purposes you need by harnessing the power of its different toolboxes.


Table of Contents

Table of Contents ........................................................................................................................................ 5

The Story behind the Succinctly Series of Books .................................................................................. 9

About the Author ....................................................................................................................................... 11

Introduction ............................................................................................................................................... 12
What’s in This Book ............................................................................................................................... 12
Running MATLAB .................................................................................................................................. 13
Parallel Computing ................................................................................................................................. 13
Program Deployment ............................................................................................................................. 14
MATLAB Variants .................................................................................................................................. 14
Off We Go! ............................................................................................................................................. 15

Chapter 1 User Interface.......................................................................................................................... 16
Windows................................................................................................................................................. 16
The Paths of MATLAB ........................................................................................................................... 18
Shortcuts ................................................................................................................................................ 19
Help and Documentation ....................................................................................................................... 19
Introspection .......................................................................................................................................... 23
When in Trouble… ................................................................................................................................. 23

Chapter 2 Data Types .............................................................................................................................. 24
Numeric Types ....................................................................................................................................... 24
Inf, NaN and Other Constants ............................................................................................................... 26
Numeric Output Formats ........................................................................................................................ 27
Arrays ..................................................................................................................................................... 29
Characters and Strings .......................................................................................................................... 29






6

Structures ............................................................................................................................................... 32
Cell Arrays ............................................................................................................................................. 33
Function Handles ................................................................................................................................... 35

Chapter 3 Basic Syntax ........................................................................................................................... 37
Working with Variables .......................................................................................................................... 37
Variable Data Import and Export ........................................................................................................... 38
Basic Operators ..................................................................................................................................... 39
Flow Control ........................................................................................................................................... 41
Exception Handling ................................................................................................................................ 43

Chapter 4 Arrays and Matrices ............................................................................................................... 45
Terminology ........................................................................................................................................... 45
One-Dimensional Arrays ........................................................................................................................ 45
Two-Dimensional Arrays ........................................................................................................................ 47
Addressing, Manipulation, and Slicing ................................................................................................... 49
Sorting and Reshaping .......................................................................................................................... 52
Transposition and Inversion ................................................................................................................... 56
Elementwise Operators .......................................................................................................................... 57
Solving Linear Systems of Equations .................................................................................................... 58
Sparse Matrices ..................................................................................................................................... 59
Higher Dimensions ................................................................................................................................. 60

Chapter 5 Working with Scripts .............................................................................................................. 62
Script Templates .................................................................................................................................... 62
Sections ................................................................................................................................................. 64
Running and Debugging ........................................................................................................................ 64
Profiling .................................................................................................................................................. 66
Publishing .............................................................................................................................................. 67








7

Comparison and Search ........................................................................................................................ 68

Chapter 6 Data Visualization ................................................................................................................... 70
Plotting via the UI ................................................................................................................................... 70
Simple Two-Dimensional Plots .............................................................................................................. 72
Multiple Plots from 2D Arrays ................................................................................................................ 75
Surface Plots .......................................................................................................................................... 76
Figures and Multiple Plots...................................................................................................................... 79
Customizing Plots .................................................................................................................................. 80
Subplots ................................................................................................................................................. 81
Plot Editing in the Figure Window .......................................................................................................... 83
Plotting Origin Axes ............................................................................................................................... 84
Image Processing .................................................................................................................................. 87

Chapter 7 Object-Oriented Programming .............................................................................................. 90
Classes .................................................................................................................................................. 90
Properties ............................................................................................................................................... 91
Methods ................................................................................................................................................. 93
Constructors ........................................................................................................................................... 94
Events .................................................................................................................................................... 95
Inheritance ............................................................................................................................................. 97
Enumerations ......................................................................................................................................... 98

Chapter 8 A Mathematical Smörgåsbord ............................................................................................... 99
Elementary Math .................................................................................................................................... 99
Trigonometry, Exponents, and Logs .................................................................................................... 101
Complex Numbers ............................................................................................................................... 102
Special Functions ................................................................................................................................. 102
Discrete Math ....................................................................................................................................... 103






8

Test Matrices ....................................................................................................................................... 103
Interpolation ......................................................................................................................................... 104
Optimization ......................................................................................................................................... 106
Numerical Integration and Differential Equations ................................................................................ 110
Fourier Analysis and Filtering .............................................................................................................. 111
The “2008” Problem ............................................................................................................................. 113

In Closing ................................................................................................................................................. 115










9

The Story behind the Succinctly Series
of Books

Daniel Jebaraj, Vice President
Syncfusion, Inc.

taying on the cutting edge
As many of you may know, Syncfusion is a provider of software components for the
Microsoft platform. This puts us in the exciting but challenging position of always
being on the cutting edge.

Whenever platforms or tools are shipping out of Microsoft, which seems to be about every other
week these days, we have to educate ourselves, quickly.

Information is plentiful but harder to digest
In reality, this translates into a lot of book orders, blog searches, and Twitter scans.
While more information is becoming available on the Internet and more and more books are
being published, even on topics that are relatively new, one aspect that continues to inhibit us is
the inability to find concise technology overview books.
We are usually faced with two options: read several 500+ page books or scour the web for
relevant blog posts and other articles. Just as everyone else who has a job to do and customers
to serve, we find this quite frustrating.

The Succinctly series
This frustration translated into a deep desire to produce a series of concise technical books that
would be targeted at developers working on the Microsoft platform.
We firmly believe, given the background knowledge such developers have, that most topics can
be translated into books that are between 50 and 100 pages.
This is exactly what we resolved to accomplish with the Succinctly series. Isn’t everything
wonderful born out of a deep desire to change things for the better?

You will get a PDF (3MB) file

$ 23.99

$ 23.99

Buy Now

Discount has been applied.

Added to cart
or
Add to Cart
Adding ...