numcmp.m

Compares between numerical arrays up to a certain precision.
다운로드 수: 2K
업데이트 날짜: 2016/5/4

라이선스 보기

편집자 메모: This file was selected as MATLAB Central Pick of the Week

This program compares numerical arrays up to a certain precision.
Examples:
>> numcmp(x); % compares x==0.1
>> numcmp(x,'<=',y,3); % compares x<=y up to 0.001

See the screenshot for another example.

This is usefull to compare serial dates up to 0.1 seconds by using:
>> numcmp(time1*86400,FUN,time2*86400)
and avoiding floating point problems with the serial dates in days.

인용 양식

Carlos Adrian Vargas Aguilera (2024). numcmp.m (https://www.mathworks.com/matlabcentral/fileexchange/21190-numcmp-m), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Dates and Time에 대해 자세히 알아보기

Community Treasure Hunt

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

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

BSD License
Fixed bug with Infs inputs