Code created by me does not display the right answer. What needs to be changed in order for the code to provide the good answers?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ok,so I wanted to create a code which recognizes which vowel is pronounced in a recording. I created a database consisting in 40 recordings per each vowel. Here you can find the database: https://we.tl/GB4fZzmhwC Q is the vector which contains the recording I select to compare with the others using k-nn classifier.
Unfortunately I am not getting the expected results which would be: 'closest recording is:41, second closest recording is:42,third closest recording is:43, fourth closest recording is:44, fifth closest recording is:45 vowel is e' as I chose Q(the recording I compare with all others in the database) to be the first recording from the e pronunciations folder in this line of code:"Q=wavread(sprintf('e/1.wav'));"
Note that I attached the database with the pronunciations in this link https://we.tl/GB4fZzmhwC as it was bigger than 5 MB.The main program was attached with paperclip and it's named main2_english.m
9 Kommentare
Geoff Hayes
am 14 Mai 2016
Nicoleta - I wasn't suggesting that you upload all of your data files, only that without your data we won't be able to reproduce the problem that you are observing. As for why you are doing this homework, wouldn't that be a question for your professor? What class are you attending?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!