Results 1 to 3 of 3

Math Help - Center of data

  1. #1
    Newbie
    Joined
    Sep 2011
    Posts
    2

    Center of data

    Hello guys,

    I have a set of n, k-dimensional vectors. I want to find (approximate) the center of this data (not necessarily a vector that belongs to the set).

    Lets say the vectors are three dimensional points. Lets say I have five of them as such:
    p1[1,-2,3]
    p2[2,5,-3]
    p3[3,3,-1]
    p4[0,5,2]
    p5[1,-7,-4]

    c = (p1+p2+p3+p4+p5) / 5
    c = [(1+2+3+0+1), (-2+5+3+5-7), (3-3-1+2-4)] / 5
    c = [7, 4, -5] / 5
    c = [7/5, 4/5, -1]

    Is this a correct approach? Does it make sense?
    Any other (faster) ways to do this?

    Thank you!
    Follow Math Help Forum on Facebook and Google+

  2. #2
    A Plied Mathematician
    Joined
    Jun 2010
    From
    CT, USA
    Posts
    6,318
    Thanks
    4
    Awards
    2

    Re: Center of data

    Averaging component-wise would certainly be one meaningful way to do it, as you have done. If you want to weight one point more than others in your averaging, you can also do that. I'm not sure if I know of other, meaningful ways to do this.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Sep 2011
    Posts
    2

    Re: Center of data

    That's what I suspected, thanks!
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. [SOLVED] Interpolating z(x,y) data point from 4 data points (rectangular)?
    Posted in the Advanced Applied Math Forum
    Replies: 2
    Last Post: June 20th 2011, 06:04 PM
  2. center of SL(n,F)
    Posted in the Advanced Algebra Forum
    Replies: 3
    Last Post: March 30th 2011, 01:08 PM
  3. Replies: 2
    Last Post: July 6th 2010, 06:33 PM
  4. extracting data from matlab data structures
    Posted in the Math Software Forum
    Replies: 4
    Last Post: May 19th 2010, 04:12 PM
  5. Rotation Center Vs. Actual Center.
    Posted in the Differential Geometry Forum
    Replies: 0
    Last Post: August 7th 2008, 08:17 AM

Search Tags


/mathhelpforum @mathhelpforum