Rank: 45527 based on 0 downloads (last 30 days) and 0 files submitted
photo

David

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by David
Updated File Comments Rating
09 Oct 2009 ISMEMBERF Floating-point ISMEMBER (i.e., with round-off tolerance) Author: Bruno Luong

PROBLEM: ismemberf([0 1 2], 0) will return [0 0 0]. It seems this is because line 263 will auto-configure tol to zero which causes unexpected results in ihi (line 274) that causes tf to be set incorrectly in line 276.

WORK-AROUND: This behavior can be avoided if 'tol' is explicitly set when calling ismemberf().

Contact us at files@mathworks.com