Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
Gaurav Sharma
Gaurav Sharma 2018년 11월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
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