필터 지우기
필터 지우기

Too many input arguments.

조회 수: 2 (최근 30일)
Monika
Monika 2014년 1월 23일
댓글: Monika 2014년 1월 24일
I don't have idea why is wrong. My program showed me this error
Probka: kaszel
WYKRYTO: ??? Error using ==> max
Too many input arguments.
Error in ==> rozpoznawanie_dzwiekow at 200
if [smiech]==max(kaszel, smiech, krzyk, chrzakanie);

채택된 답변

Walter Roberson
Walter Roberson 2014년 1월 23일
max([kaszel, smiech, krzyk, chrzakanie])
or
max(max(max(kaszel, smiech), krzyk), chrzakanie)
  댓글 수: 8
Walter Roberson
Walter Roberson 2014년 1월 24일
편집: Walter Roberson 2014년 1월 24일
Euclidean distance:
sqrt(sum((A(:) - B(:)).^2))
This is just the expansion of the Phythagorean Theorem that "the square of the length of the hypotenuse is equal to the sum of the squares of the other two sides"
Note, however, that Euclidean distance is what would be suitable for feature vectors, and is not necessarily suitable for samples. For comparing samples, you can do feature extraction, or you can use techniques such as registration and cross-correlation and I don't know what else (I have not worked with comparing speech)
Monika
Monika 2014년 1월 24일
Euclidean distance:
sqrt(sum((A(:) - B(:)).^2))
so my A is kaszel, B is smiech.
And I should one time more and now A is chrzakanie , B is krzyk.
No I think that I don't understand very well Euclidean distance:

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 AI for Signals에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by