ISMEMBERF

버전 1.10.0.0 (5.6 KB) 작성자: Bruno Luong
Floating-point ISMEMBER (i.e., with round-off tolerance)
다운로드 수: 4K
업데이트 날짜: 2010/10/24

라이선스 보기

Matlab ISMEMBER uses strict exact comparison between floats.
The ISMEMBERF (note the "F") can tolerate some round off error.
It is possible to configure the tolerance.'rows' option is also supported.

Example:

[tf, loc]=ismember(0.3, 0:0.1:1) % returns false
[tf, loc]=ismemberf(0.3, 0:0.1:1) % return true

인용 양식

Bruno Luong (2024). ISMEMBERF (https://www.mathworks.com/matlabcentral/fileexchange/23294-ismemberf), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2006a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.10.0.0

Replace soon-deprecated strmatch with strncmpi

1.9.0.0

Complete H1 lines with specification of LOC and membership criteria

1.7.0.0

Correct bug reported by Jan, better description in H1 line (thanks)

1.6.0.0

Correct bug reported by David

1.3.0.0

Important change in the engine when using 'rows' option, which saves the runtime by about 30%. Some adjustment with automatic tolerance.

1.1.0.0

Extend ISMEMBERF to complex arrays

1.0.0.0