Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



How to compute a square i.e. a*a?
Posted:
May 19, 2011 3:05 PM


Hi.
I've a column matrix Y which is mx1. I like to get the squares of all elements in m. i.e. something like a*a (e.g. 2*2 = 4) Due to the matrix nature, I cant just use Y*Y since you cant do a mx1*mx1. So, how do I do a simple a*a so I could get all my elements in Y as m^2 x 1? Thank you.



