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.

Antworten (1)

Walter Roberson
Walter Roberson am 10 Aug. 2017

0 Stimmen

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 Kommentare

KS
KS am 11 Aug. 2017
Bearbeitet: KS am 11 Aug. 2017
Thank you Walter for your answer. But what about the second part of my question? How do I use that function? Any ideas?
The examples on the documentation page show how to use it. However, I do not know anything about why to use it.

Melden Sie sich an, um zu kommentieren.

Gefragt:

KS
am 10 Aug. 2017

Kommentiert:

am 11 Aug. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by