Skip to main content

4.3) Vectors And Matrices


  • A vector is a 2D array of 1xN (row vector) or Nx1 (column vector)
  • A matrix is a 2D MxN array
  • Be careful - programming errors are caused by using a row vector where a column vector is required and vice versa. Matlab distinguishes between these