Basics
Syntax
What is everything represented as?
matrix
How do you negate?
~
How do you comment?
%
how do i make a matrix?
x = [1,2,3;4,5,6]
the commor or space means next collumn
a ; means next row
What is a vector?
a 1D matrix
How do you convert a collumn into a row?
varName'
How do i access a variable out of a matrix?
varName(column, row)
How do you select all?
:
How do you select a range?
startingNum:endNum
startingNum:incremantalValue:endNUm
Math
How to add subtract multiply and divided?
A + B
A - B
A / B
A * B
How do you multiply a matrix?
How do you do element by element multiplication?
A.*B
What is the order of operation?
Brackets
Indicys
Divide
Multiply
Add
Subtract
How do you fine the mod of two numbers?
mod(OnTop,OnBottom)