O'Reilly logo

MATLAB For Dummies by John Paul Mueller, Jim Sizemore

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A

MATLAB Functions

This appendix provides you with an overview of the MATLAB functions. Each function helps you perform a specific task within MATLAB. The tables contain the function name and a short description of the task that the function performs. If you need more information than this appendix gives you, you can obtain additional information by typing help <function_name> in the MATLAB command window and pressing Enter. Of course, you also have the information found in this book, and you can search in Help. See Chapter 3 for some useful information on using the Help resources that MATLAB provides.

Table A-1 Arithmetic Functions

Function

Description

uplus

Unary plus — comparable to + acting on one object

plus

Plus — comparable to + adding two objects

uminus

Unary minus — comparable to – acting on one object

minus

Minus — comparable to – subtracting two objects

mtimes

Matrix multiplication — comparable to *

times

Array multiply — comparable to .*

rdivide

Right-array division — comparable to ./

mrdivide

Solves systems of linear equations xA = B for x — comparable to /

ldivide

Left-array division — comparable to .\

mldivide

Solves systems of linear equations Ax = B for x — comparable to \

power

Array power — comparable to .^

mpower

Matrix power — comparable to ^

diff

Differences and approximate derivatives

prod

Product of array elements

sum

Sum of array elements

ceil

Rounds toward positive infinity ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required