Speech Recognition using MFCC and k-NN algorithm in Matlab

I am working on speech recognition and I have 30 recordings for 5 spoken words from 5 different speakers. I have extracted the features using MFCC algorithm. Now I have the following questions:
  1. Do I have to save these features in .mat file? Would that be in a single file? Because different samples may not have the same number of rows.
  2. How to feed these into fitcknn() function in matlab? I looked through the documentation but still I am not clear on how to apply this to my data.
Thanks in advance.

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 8 月 10 日

0 投票

You can save them all in one .mat file if you save them as different variables, or if you save them all inside one cell array.

2 件のコメント

KS
KS 2017 年 8 月 11 日
編集済み: KS 2017 年 8 月 11 日
Thank you Walter for your answer. But what about the second part of my question? How do I use that function? Any ideas?
Walter Roberson
Walter Roberson 2017 年 8 月 11 日
The examples on the documentation page show how to use it. However, I do not know anything about why to use it.

サインインしてコメントする。

カテゴリ

質問済み:

KS
2017 年 8 月 10 日

コメント済み:

2017 年 8 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by