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 ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access