Info

This question is closed. Reopen it to edit or answer.

Can some one please tell me why I am getting result of 8 loop?

1 view (last 30 days)
Hi there,
I am trying to run the code for speech recognition system, but the result I am getting from "test.m" is actually result of a loop run for 8 times. Can One tell me where I am doing it wrong?
And secondly, I am getting all the result same i.e. all the speaker matches with speaker 1 only. May I request you to tell me where I am going wrong and how to overcome it?
I have attached the codes with this query for your kind pursual.
  2 Comments
Walter Roberson
Walter Roberson on 24 Nov 2018
You are looping to length(codebk) but remember that length() of a non-empty matrix is the longest dimension, which-ever that happens to be. You should be using size() with an appropriate dimension parameter.
Gaurav Sharma
Gaurav Sharma on 25 Nov 2018
I tried the code after chnging length to size even i removed the for loop.. but still problem persisits. Loop keep running for 8 X 8 times.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!