Re: [R] estimate phase shift between two signals

2008-06-05 Thread ONKELINX, Thierry
that a reasonable answer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Dylan Beaudette Verzonden: woensdag 4 juni 2008 20:23 Aan: r-help@r-project.org Onderwerp: Re: [R] estimate phase shift between two signals

Re: [R] estimate phase shift between two signals

2008-06-05 Thread David Stoffer
help(spec.pgram) - then look at the examples at the bottom of the page Dylan Beaudette-3 wrote: Hi, Are there any functions in R that could be used to estimate the phase-shift between two semi-sinusoidal vectors? Here is what I have tried so far, using the spectrum() function --

[R] estimate phase shift between two signals

2008-06-04 Thread Dylan Beaudette
Hi, Are there any functions in R that could be used to estimate the phase-shift between two semi-sinusoidal vectors? Here is what I have tried so far, using the spectrum() function -- possibly incorrectly: # generate some fake data, normalized to unit circle x - jitter(seq(-2*pi, 2*pi,

Re: [R] estimate phase shift between two signals

2008-06-04 Thread Dylan Beaudette
On Wednesday 04 June 2008, Dylan Beaudette wrote: Hi, Are there any functions in R that could be used to estimate the phase-shift between two semi-sinusoidal vectors? Here is what I have tried so far, using the spectrum() function -- possibly incorrectly: # generate some fake data,

[R] estimate phase shift between two signals

2008-06-04 Thread Dylan Beaudette
Hi, Are there any functions in R that could be used to estimate the phase-shift between two semi-sinusoidal vectors? Here is what I have tried so far, using the spectrum() function -- possibly incorrectly: # generate some fake data, normalized to unit circle x - jitter(seq(-2*pi, 2*pi,