I'm using mscohere to calculate the coherence between two signals x, y. using the following formula: mscohere(x,y,window,overlap,nfft,sampling frequency)
1- I have the following questions: nfft doesn't permit to specify frequencies of interest i.e 1:1:50 Hz. Is there anyway to specify the frequencies of interest. When i use a frequency vector i receive an error message. 2- When i try to use the same function to analyze the coherence among 54 different signals (54 X 54 / 2 ) times. The processing time is considerably slow. Are there any tips or suggestions to make it faster. 3- Any suggestions for the ideal overlap and window duration ?
Thanks,
Best Answer