title: Finding the average of a matrix
body: <p>I am trying to find the average of a matrix. I have created a 4800 x 5 matrix and now would like to make it into a 4800 x 1 matrix by finding average of each row in the matrix. I know this means that I add together all the elements in each row and divide by 5. I am considering the function cvAvg but so far, I cannot find an example of its use. Below is my code in which I converted 5 images to matrices of 4800 x 1 and combined them to create the super matrix of 4800 x 5. The next step is to find the average of the super matrix. Please, I would appreciate it greatly if someone can help me.</p>