Appendix: MATLAB® characters, operators and commands

Characters, arithmetic, rational and logical operators

Character, operator Description Page(s)
+ Addition 6, 19
Subtraction 6
* Scalar and matrix multiplication 6, 20
.* Element-wise multiplication 28
/ Right division 6, 26
\ Left division 6, 26
./ Element-wise right division 28
.\ Element-wise left division 28
^ Exponentiation 6
.^ Element-wise exponentiation 28
= Assignment 6
% Percent; use for comments and for output format specification 6, 11
() Parentheses; use for input arguments and in matrix addressing 6, 15, 18
[] Brackets; use for vector, matrix, array elements input 15, 17
(space) Space; separates elements into arrays, and adds into output specifications ...

Get Matlab® in Bioscience and Biotechnology 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.