필터 지우기
필터 지우기

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 CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by