rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9780471694205

MATLAB: An Introduction with Applications, 2nd Edition

by
  • ISBN13:

    9780471694205

  • ISBN10:

    0471694207

  • Edition: 2nd
  • Format: Paperback
  • Copyright: 2004-07-01
  • Publisher: WILEY

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $113.60 Save up to $28.40
  • Buy Used
    $85.20
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Summary

If you want a clear, easy-to-use introduction to MATLAB, this book is for you! The Third Edition of Amos Gilat's popular MATLAB, An Introduction with Applications requires no previous knowledge of MATLAB and computer programming as it helps you understand and apply this increadibly useful and powerful mathematical tool.

Author Biography

Amos Gilat, Ph.D., is a Mechanical Engineering Professor at the Ohio State University

Table of Contents

Prefacep. v
Introductionp. 1
Starting with MATLABp. 5
Starting MATLAB, MATLAB Windowsp. 5
Working in the Command Windowp. 9
Arithmetic Operations with Scalarsp. 10
Order of Precedencep. 11
Using MATLAB as a Calculatorp. 11
Display Formatsp. 12
Elementary Math Built-In Functionsp. 13
Defining Scalar Variablesp. 16
The Assignment Operatorp. 16
Rules About Variable Namesp. 18
Predefined Variables and keywordsp. 18
Useful Commands for Managing Variablesp. 19
Script Filesp. 20
Notes About Script Filesp. 20
Creating and Saving a Script Filep. 21
Running (Executing) a Script Filep. 22
Current Directoryp. 22
Examples of MATLAB Applicationsp. 24
Problemsp. 27
Creating Arraysp. 33
Creating a One-Dimensional Array (Vector)p. 33
Creating a Two-Dimensional Array (Matrix)p. 36
The zeros, ones and eye Commandsp. 38
Notes About Variables in MATLABp. 39
The Transpose Operatorp. 39
Array Addressingp. 40
Vectorp. 40
Matrixp. 41
Using a Colon: in Addressing Arraysp. 41
Adding Elements to Existing Variablesp. 44
Deleting Elementsp. 46
Built-In Functions for Handling Arraysp. 47
Strings and Strings as Variablesp. 50
Problemsp. 53
Mathematical Operations with Arraysp. 57
Addition and Subtractionp. 58
Array Multiplicationp. 59
Array Divisionp. 62
Element-by-Element Operationsp. 66
Using Arrays in MATLAB Built-In Math Functionsp. 69
Built-In Functions for Analyzing Arraysp. 69
Generation of Random Numbersp. 71
Examples of MATLAB Applicationsp. 73
Problemsp. 79
Using Script Files and Managing Datap. 85
The MATLAB Workspace and the Workspace Windowp. 86
Input to a Script Filep. 87
Output Commandsp. 90
The disp Commandp. 91
The fprintf Commandp. 93
The save and load Commandsp. 101
The save Commandp. 101
The load Commandp. 102
Importing and Exporting Datap. 104
Commands for Importing and Exporting Datap. 104
Using the Import Wizardp. 106
Examples of MATLAB Applicationsp. 108
Problemsp. 113
Two-Dimensional Plotsp. 119
The plot Commandp. 120
Plot of Given Datap. 124
Plot of a Functionp. 125
The fplot Commandp. 126
Plotting Multiple Graphs in the Same Plotp. 127
Using the plot Commandp. 127
Using the hold on, hold off Commandsp. 128
Using the line Commandp. 129
Formatting a Plotp. 130
Formatting a Plot Using Commandsp. 130
Formatting a Plot Using the Plot Editorp. 134
Plots with Logarithmic Axesp. 135
Plots with Error Barsp. 136
Plots with Special Graphicsp. 138
Histogramsp. 139
Polar Plotsp. 142
Plotting Multiple Plots on the Same Pagep. 143
Multiple Figure Windowsp. 143
Examples of MATLAB Applicationsp. 145
Problemsp. 149
User-Defined Functions and Function Filesp. 155
Creating a Function Filep. 156
Structure of a Function Filep. 156
Function Definition Linep. 157
Input and Output Argumentsp. 158
The H1 Line and Help Text Linesp. 159
Function Bodyp. 160
Local and Global Variablesp. 160
Saving a Function Filep. 161
Using a User-Defined Functionp. 162
Examples of Simple User-Defined Functionsp. 163
Comparison Between Script Files and Function Filesp. 165
Anonymous and Inline Functionsp. 165
Anonymous Functionsp. 166
Inline Functionsp. 169
Function Functionsp. 170
Using Function Handles for Passing a Function into a Function Functionp. 171
Using a Function Name for Passing a Function into a Function Functionp. 174
Subfunctionsp. 176
Nested Functionsp. 178
Examples of MATLAB Applicationsp. 181
Problemsp. 184
Programming in MATLABp. 191
Relational and Logical Operatorsp. 192
Conditional Statementsp. 200
The if-end Structurep. 200
The if-else-end Structurep. 202
The if-elseif-else-end Structurep. 204
The switch-case Statementp. 205
Loopsp. 208
for-end Loopsp. 208
while-end Loopsp. 213
Nested Loops and Nested Conditional Statementsp. 216
The break and continue Commandsp. 218
Examples of MATLAB Applicationsp. 219
Problemsp. 227
Polynomials, Curve Fitting, and Interpolationp. 235
Polynomialsp. 235
Value of a Polynomialp. 236
Roots of a Polynomialp. 237
Addition, Multiplication, and Division of Polynomialsp. 238
Derivatives of Polynomialsp. 240
Curve Fittingp. 241
Curve Fitting with Polynomials, the polyfit Functionp. 241
Curve Fitting with Functions Other than Polynomialsp. 245
Interpolationp. 248
The Basic Fitting Interfacep. 252
Examples of Matlab Applicationsp. 255
Problemsp. 260
Three-Dimensional Plotsp. 267
Line Plotsp. 267
Mesh and Surface Plotsp. 268
Plots with Special Graphicsp. 275
The view Commandp. 277
Examples of MATLAB Applicationsp. 279
Problemsp. 284
Applications in Numerical Analysisp. 289
Solving an Equation with One Variablep. 289
Finding a Minimum or a Maximum of a Functionp. 292
Numerical Integrationp. 294
Ordinary Differential Equationsp. 297
Examples of MATLAB Applicationsp. 301
Problemsp. 307
Symbolic Mathp. 313
Symbolic Objects, and Symbolic Expressionsp. 314
Creating Symbolic Objectsp. 314
Creating Symbolic Expressionsp. 316
The findsym Command and the Default Symbolic Variablep. 319
Changing the Form of an Existing Symbolic Expressionp. 320
The collect, expand, and factor Commandsp. 320
The simplify and simple Commandsp. 322
The pretty Commandp. 323
Solving Algebraic Equationsp. 324
Differentiationp. 329
Integrationp. 331
Solving an Ordinary Differential Equationp. 332
Plotting Symbolic Expressionsp. 335
Numerical Calculations with Symbolic Expressionsp. 338
Examples of MATLAB Applicationsp. 342
Problemsp. 350
Summary of Characters, Commands, and Functionsp. 357
Answers to Selected Problemsp. 363
Indexp. 369
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program