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



Matix maths
Posted:
Nov 15, 2012 3:09 PM


Does anyone know how I can sum all the diagonals of a matrix and get a vector of the results?
For example if a had the following matrix
18 36 24 12 12 24 16 8 6 12 8 4
I would get a vector of:
18 48 54 40 16 4
All help appreciated! Dan



