Correlation between two audio files

5 次查看(过去 30 天)
Hi all,
I want to get the correlation as a probability of two audio files in .wav format. I already tried corr function in MATLAB as http://www.mathworks.com/matlabcentral/answers/132025-comparing-the-tone-of-musical-instruments-in-matlab says. Now I can get the correlation between same audio file (I copied the original file and get correlation) as 1. But when I use two audio files with different lengths, It gives an error like ??? Error using ==> corr at 102 X and Y must have the same number of rows. Now I want to know can't we use corr function to get correlation of two audio files with different length? And if can't how can I solve my problem. Please guide me.
Thanks in advance.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by