Monday, 10 October 2011

Matrix Functions

Hello guys...
 I would now talk about some matrix functions...
You engineering students might be wondering how would you put a matrix to the power of "e"...
its quite simple ... use the command expm(<MATRIX NAME>)


 Then to make a matrix full of zeros?? Its even more simple... use the command
zeros(<size of matrix>)
 Will give you a matrix filled with zeros .
The length(<matrix name >) command gives the length of the matrix and size(<matrix name >) gives the size of the matrix as the answer.

In order to make the transpose of a matrix all you need to put is a " ' " symbol next to a matrix
Just like this A'


Alright  folks I guess that should wrap up the Matrix part of it... Next time we shall talk about some plotting and other functions....
So long...!

No comments:

Post a Comment