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).
- [ ] : - 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....!!!!
Nice blog...!!!
ReplyDeleteDude I have one doubt...
I dont understand what do you mean by element wise multiplication/division??
How that will work...
Can you please elaborate it...
Can u give example for each type of the operation, it will be very helpful! Its all like shortcuts...not so understandable!
ReplyDeleteThank you very much..!!!
ReplyDeleteYou can see this article for getting your doubts clear.....!!!
http://innovatecentre.blogspot.in/2013_05_01_archive.html
Dude its this article i am talking about!
ReplyDelete