| Optional: Special symbols. | ||
| % | Comment delimiter. | % This is a comment. |
| %% | Puts comment into MATLABŪ, C, Fortran codes. | %% Comment written to code. |
| & | Multi-line continuation symbol. | longLine = 1 + 2 + 3 + 4 &
+ 5 + 6 + 7 + 8 |
| ' | Denotes ordinary time-derivative. | x' and x'' |
| > | Last symbol in the name of a vector. | Fred> |
| [ ] | Used to designate the element of a matrix. | Sue[2,3] = 57.4 |
| , ; | Separates elements and rows in a matrix. | A = [1, 2, 3; 4, 5, 6] |
| : | Denotes a range. | 2:5 denotes 2, 3, 4, 5 |
| :=
:;
| Automatically overwrites an expressions.
Turns SetAutoOverwrite(ON) for current command.
| Keith = 3.8
Keith := 4.2
Keith = 5.5:;
|