I'm having trouble with my script
clc;
clear;
close all;
[audio1, Fs] = audioread('1812 overture 256.mp3');
[audio2] = audioread('1812 overture 320.mp3');
[dlsd1, dskl1, dmfcc1] = distance(audio1, audio2, Fs);
Every time I run this script I get the error:
Error using .* Matrix dimensions must agree.
Error in distance (line 21) S1=Sig1.*window;
Error in CW_2(line 6) [dlsd1, dskl1, dmfcc1] = distance(audio1, audio2, Fs);
While searching around I have seen that it may be an issue with Fs and length of clip but I have made sure that both are the same.
Any solutions?

댓글 수: 1

Jan
Jan 2015년 4월 16일
The function distance is not part of the Matlab toolboxes. So you have to tell us more details about this function.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

질문:

2015년 4월 15일

댓글:

Jan
2015년 4월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by