Re: [R] Looping matrix multiplication

2012-11-08 Thread R. Michael Weylandt
On Thu, Nov 8, 2012 at 6:16 PM, Nordlund, Dan (DSHS/RDA) wrote: > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- >> project.org] On Behalf Of wilkesma >> Sent: Thursday, November 08, 2012 5:49 AM >> To: r-help@r-pr

Re: [R] Looping matrix multiplication

2012-11-08 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of wilkesma > Sent: Thursday, November 08, 2012 5:49 AM > To: r-help@r-project.org > Subject: [R] Looping matrix multiplication > > I am dealing with

[R] Looping matrix multiplication

2012-11-08 Thread wilkesma
I am dealing with a number of time-series consisting of 2250 samples of flow velocity in 2D (Vx, Vy). For each time-series I have determined the resultant vector angle (d) and magnitude (Vres) based on the ensemble means of Vx and Vy and now want to rotate each point in the time-series by d so tha