[R] average waveform over many cycles
jholtman at gmail.com
Wed Oct 10 14:52:48 CEST 2007
y <- matrix(x, ncol=400, byrow=TRUE)
On 10/10/07, Bill Simpson <bill.simpson at plymouth.ac.uk> wrote:
> Thanks Jim for the help.
> I forgot to say that one of my main snags is figuring how how to chop up
> the one long (44100 samples) vector into pieces (400 of them).
> This is my C-inspired way of thinking but there must be a better way in
> for i= 1 to 400
> for j= 1 to cyclelength
> Once that's done I can average over rows
> Thanks for any suggestions
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
+1 513 646 9390
What is the problem you are trying to solve?
More information about the R-help