Correlation Coefficients Using .Wav Files for x,y,z

1 view (last 30 days)
I would like to know how to use the function listed below correctly with 3 different .wav files. The files are in matlab using wavread. I am confused as to how to make these three variables x,y,z = the wav files 1,2,3. I want the entire spectrum of 1 wav file to equal each variable for analysis.
cxy=corr2(x,y), cxz=corr2(x,z), cyz=corr2(x,z)
Here is the first part of the script
dir1=uigetdir cd(dir1);
[name1,path1]=uigetfile('*.wav','SelectWAV File'); [x,fs]=wavread(name1);
L=length(x); t=[0:L-1]'./fs;

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!