Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
Gaurav Sharma
Gaurav Sharma el 24 de Nov. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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 comentarios
Walter Roberson
Walter Roberson el 24 de Nov. de 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 el 25 de Nov. de 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.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by