Appendix

MATLAB® characters, operators, and commands

Table A1

Operators of scalar, array and matrix arithmetic

OperatorDescriptionLocation, page
+Addition, scalar and matrix12, 32
Subtraction, scalar and matrix12, 32
*Multiplication, scalar and matrix12, 33
.*Multiplication, element-wise36
/Right division, scalar and matrix12, 35
./Right division, element-wise36
\Left division, scalar and matrix12, 35
.\Left division, element-wise36
^Exponentiation, scalar and matrix2
.^Exponentiation, element-wise36

Table A2

Special characters

CharacterDescriptionLocation, page
=Assignment14
%Percent; is used for comments and for output format specification11, 22
( )Parentheses; is used for input arguments and in matrix addressing11, 30
No.CommandDescriptionLocation, page
[ ]Brackets; ...

Get Matlab® in Quality Assurance Sciences now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.