Too many input arguments.
2 ビュー (過去 30 日間)
古いコメントを表示
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);
0 件のコメント
採用された回答
Walter Roberson
2014 年 1 月 23 日
max([kaszel, smiech, krzyk, chrzakanie])
or
max(max(max(kaszel, smiech), krzyk), chrzakanie)
8 件のコメント
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)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で AI for Signals についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!