Results 1 to 3 of 3

Math Help - Help with understanding how to fine mean of matrix

  1. #1
    Newbie
    Joined
    Mar 2011
    Posts
    2

    Help with understanding how to find mean of matrix

    Hi all,

    Just a quick background...I am working on a final year computer science project that performs face recognition. As part of the project I need to perform a lot of vector/matrix manipulation. Below is a small extract from the paper I am following...



    The problem I am struggling to figure is out how the mean/variance is calculated from the equation. For example a subject x who has three face images will be represented as a matrix of 3840 rows and 3 columns, where each value represents a colour and each column represents a single image. Now the end result is to get a single value of variance for each subject, however I am struggling to see how to convert this matrix into first a mean value and then a variance value. The divide part of the equation is 1/N where in this case N would be 3, but I was under the impression that to get the average you would divide by the total number of elements?

    I apologise for the long-windedness of the explanation, however if you require any further information please ask.

    Thanks in advance for and help you can offer

    Tom
    Last edited by tomprice0189; March 30th 2011 at 07:16 AM.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Master Of Puppets
    pickslides's Avatar
    Joined
    Sep 2008
    From
    Melbourne
    Posts
    5,236
    Thanks
    29
    The context is still a little blurry here.

    The common method here is to find the mean vector (1x3) the mean of each column and the covariance matrix (3x3) using the standard definition for the covariance between 2 variables.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Mar 2011
    Posts
    2
    Hi pickslides,

    Thanks for your response. Yes I agree with you, as in a different part of the paper I have to do exactly as you outlined, however the way this bit is worded is as if it calculated in a somewhat different way.

    I'll see if I can find any additional details that may help.

    Thanks for your time
    Tom
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Understanding identity matrix intuitively
    Posted in the Algebra Forum
    Replies: 0
    Last Post: March 6th 2012, 01:59 PM
  2. problem understanding how to perform a matrix translation
    Posted in the Advanced Algebra Forum
    Replies: 0
    Last Post: September 19th 2011, 02:38 AM
  3. Understanding Matrix Suffix Notation
    Posted in the Advanced Algebra Forum
    Replies: 2
    Last Post: May 9th 2011, 09:25 AM
  4. fine the derivative
    Posted in the Calculus Forum
    Replies: 7
    Last Post: February 9th 2010, 06:42 PM
  5. forecast and fine
    Posted in the Statistics Forum
    Replies: 0
    Last Post: January 24th 2010, 02:47 PM

Search Tags


/mathhelpforum @mathhelpforum