To multiply matrices a, b and c using matrix multiplication in MATLAB, use the following code:
main.m20 chars2 lines
Note that matrix multiplication is associative but not commutative, that's why we have to multiply both a and b first and then c.
gistlibby LogSnag