Saturday, 26 January 2013

Matlab Commands: Operators and Special Characters


+
Plus; addition operator.
-
Minus; subtraction operator.
*
Scalar and matrix multiplication operator.
.*
Array multiplication operator.
^
Scalar and matrix exponentiation operator.
.^
Array exponentiation operator.
\
Left-division operator.
/
Right-division operator.
.\
Array left-division operator.
./
Array right-division operator.
:
Colon; generates regularly spaced elements and represents an entire row or column.
( )
Parentheses; encloses function arguments and array indices; overrides precedence.
[ ]
Brackets; enclosures array elements.
.
Decimal point.
Ellipsis; line-continuation operator.
,
Comma; separates statements and elements in a row.
;
Semicolon; separates columns and suppresses display.
%
Percent sign; designates a comment and specifies formatting.
_
Quote sign and transpose operator.
._
Nonconjugated transpose operator.
=
Assignment (replacement) operator.

Popular Posts