フィルターのクリア

A Probably Mistake in the MATLAB Documentation

1 回表示 (過去 30 日間)
Rightia Rollmann
Rightia Rollmann 2016 年 8 月 13 日
コメント済み: Rightia Rollmann 2016 年 8 月 13 日
I think I’ve found a mistake in the MATLAB Documentation and I’d like to report it!
k = find(X,n,direction), where direction is 'last', finds the last n nonzero elements in X. The default for direction is 'first', which finds the first n nonzero elements.
This function finds the indices but not elements. So the correct definition is:
k = find(X,n,direction), where direction is 'last', finds the last n indices corresponding to the nonzero elements in X. The default for direction is 'first', which finds the first n indices corresponding to the nonzero elements.

採用された回答

Image Analyst
Image Analyst 2016 年 8 月 13 日
That's probably a more accurate description. You can click "No" on the button at the bottom of the documentation page that says "Was this topic helpful". I know for a fact that there is a live human that looks over every one of those that people report.
  1 件のコメント
Rightia Rollmann
Rightia Rollmann 2016 年 8 月 13 日
Good idea! I just did it! Thanks Image Analyst!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by