MATLAB® characters, operators, and commands
Table A1
Operators of scalar, array and matrix arithmetic
Operator | Description | Location, page |
+ | Addition, scalar and matrix | 12, 32 |
− | Subtraction, scalar and matrix | 12, 32 |
* | Multiplication, scalar and matrix | 12, 33 |
.* | Multiplication, element-wise | 36 |
/ | Right division, scalar and matrix | 12, 35 |
./ | Right division, element-wise | 36 |
\ | Left division, scalar and matrix | 12, 35 |
.\ | Left division, element-wise | 36 |
^ | Exponentiation, scalar and matrix | 2 |
.^ | Exponentiation, element-wise | 36 |
Table A2
Special characters
Character | Description | Location, page | |
= | Assignment | 14 | |
% | Percent; is used for comments and for output format specification | 11, 22 | |
( ) | Parentheses; is used for input arguments and in matrix addressing | 11, 30 | |
No. | Command | Description | Location, page |
[ ] | Brackets; ... |
Get Matlab® in Quality Assurance Sciences 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.