Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Gaurav Sharma
Gaurav Sharma le 24 Nov 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaires
Walter Roberson
Walter Roberson le 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 le 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.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by