필터 지우기
필터 지우기

Index exceeds matrix dimensions. -error

조회 수: 1 (최근 30일)
Monika
Monika 2014년 1월 21일
편집: Matt J 2014년 1월 21일
I am keep getting this error
??? Index exceeds matrix dimensions.
Error in ==> gaussmix at 130 m=xs(mod((1:k)-1,n)+1,:); % just include all points several times
Error in ==> matlab at 160 [smiech_means,smiech_variances,smiech_weights] = gaussmix(mfcc_smiech,[],[],8,'hf');

채택된 답변

Matt J
Matt J 2014년 1월 21일
편집: Matt J 2014년 1월 21일
Use DBSTOP to examine 'k' vs. length(xs) inside gaussmix.
It might also be advisable not to name your main function 'matlab'.
  댓글 수: 6
Monika
Monika 2014년 1월 21일
Matt J
Matt J 2014년 1월 21일
편집: Matt J 2014년 1월 21일
Well, if you understand what the code is doing (or even if you don't), DBSTOP will help you understand where it's gone wrong, or what bad input you might have given it. Otherwise, you may have to go to the authors of that toolbox for help.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by