|
|
| File Information |
| Description |
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 |
| MATLAB release |
MATLAB 7.2 (R2006a)
|
| Zip File Content |
|
| Other Files |
ismemberf.m, license.txt
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 16 Mar 2009 |
Extend ISMEMBERF to complex arrays |
| 19 Mar 2009 |
Important change in the engine when using 'rows' option, which saves the runtime by about 30%. Some adjustment with automatic tolerance. |
| 10 Oct 2009 |
Correct bug reported by David |
| 13 Oct 2009 |
Correct bug reported by Jan, better description in H1 line (thanks) |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com