Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2018-11-24
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 2018-11-25
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.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by