mfcc extraction of speech signal

4 ビュー (過去 30 日間)
VNM Suhail
VNM Suhail 2013 年 7 月 28 日
回答済み: Pratik 約6時間 前
Hi all...Iam doing matlab code for extracting mfcc coefficient of a speech signal.For the following error "attempted to access y(10001);index out of bounds because numel(y)=10000" For the following line i=1; while abs(y(i))<0.05 i=i+1;end
expecting your assistance ASAP.

回答 (1 件)

Pratik
Pratik 約6時間 前
Hi,
The error is occuring because the size of the array y is 100000 but the script is trying to acess the 10001th element which does not exist.
Please refer to the following code snippet to fix the error:
i=1;
while i<numel(y) & abs(y(i))<0.05
i=i+1;
end
Documentation of 'numel' function: www.mathworks.com/help/matlab/ref/double.numel.html

カテゴリ

Help Center および File ExchangeSpeech Recognition についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by