| MATLAB Central > MATLAB Newsreader > ismember - getting wrong result |
|
|
|
Subject: ismember - getting wrong result From: Ashwini Deshpande Date: 12 Mar, 2009 13:04:01 Message: 1 of 22 |
|
Hi, |
|
"Ashwini Deshpande" |
|
"Ashwini Deshpande" <vd.ashwini@mathworks.com> wrote in message <gpb180$5uv$1@fred.mathworks.com>... |
|
"Ashwini Deshpande" <vd.ashwini@mathworks.com> wrote in message <gpb180$5uv$1@fred.mathworks.com>... |
|
"Pj " <northern69@yahoo.com> wrote in message <gpb2fi$t9e$1@fred.mathworks.com>... |
|
Subject: ismember - getting wrong result From: Ashwini Deshpande Date: 13 Mar, 2009 04:27:01 Message: 6 of 22 |
|
"Ashwini Deshpande" <vd.ashwini@mathworks.com> wrote in message <gpb180$5uv$1@fred.mathworks.com>... |
|
Subject: ismember - getting wrong result From: Walter Roberson Date: 14 Mar, 2009 07:33:06 Message: 7 of 22 |
|
Ashwini Deshpande wrote: |
|
Subject: ismember - getting wrong result From: Bruno Luong Date: 14 Mar, 2009 15:44:01 Message: 8 of 22 |
|
I would like to offer a code called ismemberf, similar to ismember but with tolerance. |
|
Subject: ismember - getting wrong result From: Bruno Luong Date: 15 Mar, 2009 12:25:03 Message: 9 of 22 |
|
I have optimize the code (mostly for speed). Before I submit to FEX, I would like to get your feedback. |
|
Subject: ismember - getting wrong result From: Jan Simon Date: 15 Mar, 2009 22:28:00 Message: 10 of 22 |
|
Dear Bruno Luong! |
|
try linspace. it works for me: |
|
Subject: ismember - getting wrong result From: Bruno Luong Date: 16 Mar, 2009 07:42:09 Message: 12 of 22 |
|
"Niklas " <nn@hotmail.com> wrote in message <gpk4m9$7mg$1@fred.mathworks.com>... |
|
Subject: ismember - getting wrong result From: Bruno Luong Date: 16 Mar, 2009 08:51:08 Message: 13 of 22 |
|
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <gpjvdg$p4b$1@fred.mathworks.com>... |
|
"us " <us@neurol.unizh.ch> wrote in message <gpb1n2$851$1@fred.mathworks.com>... |
|
"Pete " <pete.dot.bankhead@btinternet.dot.com> wrote in message <gplfbn$3sp$1@fred.mathworks.com>... |
|
For a concise, stripped-down alternative to ismember with a tolerance, you could use |
|
Subject: ismember - getting wrong result From: Bruno Luong Date: 16 Mar, 2009 12:59:16 Message: 17 of 22 |
|
"Jos " <#10584@fileexchange.com> wrote in message <gplhd9$fkq$1@fred.mathworks.com>... |
|
"Jos " <#10584@fileexchange.com> wrote in message <gplhd9$fkq$1@fred.mathworks.com>... |
|
"Pete " <pete.dot.bankhead@btinternet.dot.com> wrote in message <gpllb1$328$1@fred.mathworks.com>... |
|
Subject: ismember - getting wrong result From: Peter Boettcher Date: 16 Mar, 2009 15:17:43 Message: 20 of 22 |
|
"Jos " <#10584@fileexchange.com> writes: |
|
Peter Boettcher <boettcher@ll.mit.edu> wrote in message <muyskldijjc.fsf@G99-Boettcher.llan.ll.mit.edu>... |
|
Thanks Jos and Peter! I feel I've been enlightened by this thread in more ways than I could have predicted when I opened it this morning. |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| precision | Phil | 12 Mar, 2009 09:20:05 |
| code | us | 12 Mar, 2009 09:15:06 |
| reference | us | 12 Mar, 2009 09:15:06 |
| fp | us | 12 Mar, 2009 09:15:06 |
| floating point | us | 12 Mar, 2009 09:15:06 |
| evergreen | us | 12 Mar, 2009 09:15:06 |
| ismember | Ashwini | 12 Mar, 2009 09:04:06 |
Contact us at files@mathworks.com
