Error in entropy function
4 ビュー (過去 30 日間)
古いコメントを表示
I use the entropy function given belwo for my data, but Matlab gives me an error.
e=entropy(x,'shannon')
Matlab gives me this error:
Error using entropy>ParseInputs (line 58)
Too many input arguments.
Error in entropy (line 38)
I = ParseInputs(varargin{:});
0 件のコメント
回答 (1 件)
Walter Roberson
2020 年 10 月 27 日
The entropy function only permits a single parameter.
You are probably thinking of the wentropy function, which does permit 'shannon' as a second parameter.
参考
カテゴリ
Help Center および File Exchange で Pattern Recognition and Classification についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!