Nowlet's add 2 to each element of our vector, a, Instead of doing a matrix multiply, we can multiply the corresponding elements of two matrices or vectors using the .* operator. You can have more than one statement on a single line by separating each statement with commas or semicolons.
Todecompose (or factorize) a matrix means to write the matrix as a product of two or more matrices. This can significantly simplify some matrix operations because the matrices into which we decompose the original matrix have special properties, so we can easily perform various operations on them rather than on the original matrix. To discover matrix decompositions other than the LUMatrixis nothing but a rectangular arrangement of data or numbers. In other words, it is a rectangular array of data or numbers. The horizontal entries in a matrix are called as 'rows' while the vertical entries are called as 'columns'. If a matrix has r number of rows and c number of columns then the order of matrix is given by r x c