Question: How do I transfer the results of an operation on a matrix to a vector or an array?

I've created a matrix in which each row has two values. I'm using Add(i,i=[matrixName][row element number])/2 to find the mean of each row, which I'd like to transfer to a corresponding element number in an array or a vector, but so far I can only get it to work on single rows or (if I use only Add(i,i=[matrixName]/2), understandably, the mean of the whole matrix. Is there a way to do it wholesale?

Please Wait...