MATLAB / Edition 1

Paperback (Print)
Rent from
(Save 67%)
Est. Return Date: 08/01/2015
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 92%)
Other sellers (Paperback)
  • All (28) from $1.99   
  • New (13) from $7.99   
  • Used (15) from $1.99   


Need to Learn MATLAB? Problem SOLVED!

Get started using MATLAB right away with help from this hands-on guide. MATLAB Demystified offers an effective and enlightening method for learning how to get the most out this powerful computational mathematics tool.

Using an easy-to-follow format, this book explains the basics of MATLAB up front. You'll find out how to plot functions, solve algebraic equations, and compute integrals. You'll also learn how to solve differential equations, generate numerical solutions of ODEs, and work with special functions. Packed with hundreds of sample equations and explained solutions, and featuring end-of-chapter quizzes and a final exam, this book will teach you MATLAB essentials in no time at all.

  • This self-teaching guide offers:
  • The quickest way to get up and running on MATLAB
  • Hundreds of worked examples with solutions
  • Coverage of MATLAB 7
  • A quiz at the end of each chapter to reinforce learning and pinpoint weaknesses
  • A final exam at the end of the book
  • A time-saving approach to performing better on homework or on the job

Simple enough for a beginner, but challenging enough for an advanced user, MATLAB Demystified is your shortcut to computational precision.

Read More Show Less

Product Details

  • ISBN-13: 9780071485517
  • Publisher: McGraw-Hill Professional Publishing
  • Publication date: 4/6/2007
  • Series: Demystified Series
  • Edition number: 1
  • Pages: 336
  • Sales rank: 613,110
  • Product dimensions: 7.30 (w) x 9.10 (h) x 0.70 (d)

Meet the Author

David McMahon is a physicist and researcher at Sandia National Laboratories. He is the author of Linear Algebra Demystified, Quantum Mechanics Demystified, and Relativity Demystified.

Read More Show Less

Table of Contents

Preface     ix
Acknowledgments     x
The MATLAB Environment     1
Overview of the User Interface     2
Command Window and Basic Arithmetic     3
The Assignment Operator     5
Basic Mathematical Definitions     9
Complex Numbers     11
Fixing Typos     12
Some File Basics     12
Ending Your MATLAB Session     14
Quiz     14
Vectors and Matrices     15
Vectors     15
Creating Larger Vectors from Existing Variables     18
Creating Vectors with Uniformly Spaced Elements     18
Characterizing a Vector     20
Vector Dot and Cross Products     24
Referencing Vector Components     25
Basic Operations with Matrices     26
Matrix Multiplication     29
More Basic Operations     30
Special Matrix Types     31
Referencing Matrix Elements     32
Finding Determinants and Solving Linear Systems     34
Finding the Rank of a Matrix     35
Finding the Inverse of a Matrix and the Pseudoinverse     39
Reduced Echelon Matrices     44
MatrixDecompositions     45
Quiz     47
Plotting and Graphics     49
Basic 2D Plotting     49
More 2D Plotting Options     54
The Axis Commands     57
Showing Multiple Functions on One Plot     58
Adding Legends     60
Setting Colors     62
Setting Axis Scales     64
Subplots     67
Overlaying Plots and linspace     71
Polar and Logarithmic Plots     74
Plotting Discrete Data     79
Contour Plots     85
Three Dimensional Plots     90
Quiz     96
Statistics and an Introduction to Programming in MATLAB     97
Generating Histograms     98
Basic Statistics     103
Writing Functions in MATLAB     106
Programming with For Loops     110
Calculating Standard Deviation and Median     110
More MATLAB Programming Tips     116
Quiz     119
Solving Algebraic Equations and Other Symbolic Tools     121
Solving Basic Algebraic Equations     121
Solving Quadratic Equations     123
Plotting Symbolic Equations     125
Solving Higher Order Equations     130
Systems of Equations     134
Expanding and Collecting Equations     135
Solving with Exponential and Log Functions     138
Series Representations of Functions     142
Quiz     144
Basic Symbolic Calculus and Differential Equations     145
Calculating Limits     145
Computing Derivatives     153
The dsolve Command     161
Solving ODE's     161
Systems of Equations and Phase Plane Plots     169
Quiz     178
Numerical Solution of ODEs     179
Solving First Order Equations with ODE23 and ODE45     179
Solving Second Order Equations     188
Quiz     196
Integration     197
The Int Command     197
Definite Integration     201
Multidimensional Integration     208
Numerical Integration     209
Quadrature Integration     216
Quiz     217
Transforms     219
The Laplace Transform     219
The Inverse Laplace Transform     222
Solving Differential Equations     227
Computing Fourier Transforms      232
Inverse Fourier Transforms     235
Fast Fourier Transforms     236
Quiz     239
Curve Fitting     241
Fitting to a Linear Function     241
Fitting to an Exponential Function     257
Quiz     258
Working with Special Functions     259
Gamma Functions     259
Bessel Functions     266
The Beta Function     274
Special Integrals     276
Legendre Functions     281
Airy Functions     284
Quiz     286
Bibliography and References     289
Final Exam     291
Answers to Quiz and Exam Questions     303
Index     319
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)