You are on page 1of 1

MATLAB = matrix laboratory

Semicolon=for number of rows in matrix

Space = for number of column in matrix

[] = for vector

If semicolon is not used at the end of the statement the answer will be printed

‘ For transpose

Vec (row, column)

Vec (row, :) for one row all column

Vec (:, :) for all row all column

: For up to some element ([] not used)

Size (Vec) for order of matrix Vec

.* for element product ( each element by their corresponding element)

./ for element division

You might also like