Some Basic Operations On Matrices and Vectors.....

The Matlab notation for binary operations on matrices,vectors and there elements are as follows:

  •   + : -  For matrix or element addition
  •   -  : -  For matrix or element subtraction.
  •   .* : - For element wise multiplication
  •   *  : - For matrix multiplication
  •   ./  : - For element wise division.
  •   /   : - For right matrix division (right multiplication by an inverse).
  •   \   : - For left matrix division ( left multiplication by an inverse)

There is also Matlab notation for a few unary operations
  •   .^  : -  For raising an element to a power.
  •   ^   : -  For raising a matrix to a power.
  •   '    : -  For converting to complex conjugate transpose (single forward quote). 
Matlab also has specific notation and symbols for delimiters, separators, grouping, type assignment, and so forth : Essential among these are :
  •  [ ]   : - For vector and Matrix delimiter.
  •  ( )   : - For grouping vector and matrix element indicies, function argument delimiter.
  •  :      : - For index range separator
  •  :      : - For matrix row separator.

  • blank space : - For matrix column element separator.
  • , comma      : - For matrix index separator, function argument separator. 
  • . period        : - For radix expansion separator ( American convention).
  • ' ' single forward quotes : - For demarcation of character strings..

Hope to see you in next tutorial....!!!!

Written By,
Dheeraj Mor
Student @ VIT University