Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math.independent

Topic: Calculating an average vector
Replies: 5   Last Post: Nov 23, 2006 5:03 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Pouya D. Tafti

Posts: 102
From: EPFL
Registered: 1/25/05
Re: Calculating an average vector
Posted: Nov 19, 2006 1:03 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

[Ricky Romaya <something@somewhere.com>]
>Given a set of N vectors, how can I calculate the average vector of the
>set. An average vector is defined (at least for the problem at hand) as a
>vector which have a magnitude in the range of min-max magnitude of the
>set, and have the average direction of the set.

[...]
>1. calculate the unit vectors for each vector in the set
>2. get the total of those unit vectors
>3. calculate the unit vector of that total
>4. calculate the average magnitude of the set
>5. take the direction vector of step #3 and magnitude of step #4 to
>create the final vector

[...]
>I'm not sure the steps I have
>taken is appropriate, and whether it can be generalized to vectors with
>any dimensions (I'm thinking of 6 or more dimensions).


Appropriateness would IMO depend on the application, but
have you considered a situation like the following?

vectors u, v, w;
u = v = 10^-12 x (1,0,0);
w = 10^12 x (-1,0,0);
proposed average ~ 3.3 x 10^11 x (1,0,0).

Perhaps you could tell us more about the problem first.

Regards,
--
Pouya D. Tafti
p dot d dot tafti at ieee dot org



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.