You are on page 1of 5

Figure 4.1 Cross-Correlation Analysis.

The Output signal (blue) is a delayed (by 300 ms) version of input signal (red). [Inset] The cross correlation plot illustrates that the maximum peak occurs at T = 300 ms with a correlation coefficient = 1 for the noiseless signals illustrated here.

Sample Size and Power Estimates for a Confirmatory Factor Analytic Model in Exercise and Sport: A Monte Carlo Approach. Authors: Myers, Nicholas O.1 Soyeon Ahn1 Ying Jin1 Source: Research Quarterly for Exercise & Sport Sep2011, Vol. 82 Issue 3, p412 12p. Language: English Subject Terms: *COACHING (Athletics) MONTE Carlo method COMPLEX systems STATISTICS QUANTITATIVE research SAMPLING (Statistics) Keyword(s): coaching efficacy; misspecification; ordinal; simulation Abstract: Monte Carlo methods can be used in data analytic situations (e.g., validity studies) to make decisions about sample size and to estimate power. The purpose of using Monte Carlo methods in a validity study is to improve the methodological approach within a study where the primary focus is on construct validity issues and not on advancing statistical theory. The purpose of this study is to demonstrate how Monte Carlo methods can be used to determine sample size and to estimate power for a confirmatory factor analytic model under model-data conditions commonly encountered in exercise and sport. Because the purpose is pursued by way of demonstration with the Coaching Efficacy Scale II-High School Teams, related sample size recommendations are provided: N 200 for the theoretical model; N 300 for the population model. Technical terms (e.g., coverage) are defined when necessary. ABSTRACT FROM AUTHOR Author Affiliations: 1 Department of Educational and Psychological Studies, University of Miami ISSN: 02701367 Document Information: Publication Type: Journal Article Update Code: 20110929 Accession Number: 65958419 Database: SPORTDiscus with Full Text

[corr,index]=max(xcorr(wave4,A))

Appendix 3. Matlab Code for Alignment of Multiple SDV Plots


Here is the Matlab code used to align SDV measurements from different embryos in Chapter 6. waveX=M30_55hrsE3p2; x1=273; x2=2475; A=resample(waveX(x1:x2),2767,max(size(waveX(x1:x2)))); A=A/max(A); for i=1:10 [corr,index]=max(xcorr(wave4,A)) shift=index-2767; x1=x1-shift; x2=x2-shift; A=resample(waveX(x1:x2),2767,max(size(waveX(x1:x2)))); A=A/max(A); i end;

Given two measurement signal x(t) and y(t) with the same length. I`d like to find the time delay between those signal using MATLAB and since those signal is influenced by two different sources. The result should show two number of time delay. anybody know how to do that? Supposing you have two equally sampled signals X=x[k]=x(k*T) and Y=y[k]=y(k*T) which are similar or equal beside some time-delay dk*T you simply get dk by applying cross-correlation function on both signals C = XCORR(X,Y) and searching for the peak or maximum find(C==max(C)) keeping in mind, that if the input-signal-lengths are M, the crosscorrelation output has length 2*M-1, and that the zeroth lag of the output correlation is in the middle of the sequence, at element or row M.

I would like to get the time delay (shift value) of one function compared to another one, for example f1 and f2. I used the following codes, x=0:0.01:2; f1=1.2*x-0.2; f1(find(f1<0))=0; f2=1.2*x-0.8; f2(find(f2<0))=0; The time delay(shift) should be 0.6. I tried to use xcorr(f1,f2), but it seemed that xcorr did not give me the expected value. Any suggestion how to solve this?

You might also like