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 ... |
Get MATLAB For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.