Clear Filters
Clear Filters

ismembertol: What am I doing wrong?

3 views (last 30 days)
x is attached. "Transparency" looks ok but "Lia" is all zero. Any idea what I'm doing wrong here?
Transparency = find (x>=0.9 | x<=0.8);
[Lia,~] = ismembertol (x, Transparency,1e-16);

Accepted Answer

Steven Lord
Steven Lord on 14 Mar 2022
Based on your comment describing the problem you're trying to solve: "The idea is to make the elements that fall outside a range transparent. That's why there is OR. Bigger than a certain value, smaller than a certain value. You can pick any number. 4 and 6 are arbitrary." I think you've overcomplicated the problem. If all you want is a vector of true or false values depending on whether or not the values in x are in your range you need neither ismembertol nor find.
rng(6, 'twister') % Seed chosen so there are multiple elements in range
x = rand(10, 1); % Sample data
tooSmall = x <= 0.8;
tooLarge = x >= 0.9;
justRight = ~tooSmall & ~tooLarge;
Let's look at the results as a table.
t = table(x, tooSmall, tooLarge, justRight)
t = 10×4 table
x tooSmall tooLarge justRight ________ ________ ________ _________ 0.89286 false false true 0.33198 true false false 0.82123 false false true 0.041697 true false false 0.10766 true false false 0.59505 true false false 0.52982 true false false 0.41881 true false false 0.33541 true false false 0.62252 true false false
If we were to use justRight to index into x, we'd get two elements.
x(justRight)
ans = 2×1
0.8929 0.8212
If we were to use tooSmall and tooLarge to index into x, we could get the other eight elements.
x(tooSmall | tooLarge)
ans = 8×1
0.3320 0.0417 0.1077 0.5951 0.5298 0.4188 0.3354 0.6225
  2 Comments
Pelajar UM
Pelajar UM on 14 Mar 2022
Edited: Pelajar UM on 14 Mar 2022
I still wonder why ismember and find are not working consistently across different data sets but you are absolutely right. This method is far simpler and more robust too. Thanks a lot.
Steven Lord
Steven Lord on 14 Mar 2022
In your original ismembertol call, you're asking for the intersection between raw data and indices of some of the values in the raw data. That doesn't make conceptual sense to me. I think that disconnect is the reason the behavior doesn't seem to be "working consistently".

Sign in to comment.

More Answers (2)

Arif Hoq
Arif Hoq on 14 Mar 2022
Edited: Arif Hoq on 14 Mar 2022
try this:
x=readmatrix('x.txt');
Transparency = x(x>=0.9 | x<=0.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1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 0 0 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 1 1 1 1 1 1 0 1 1 0 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 0 0 1 1 1 1 1 0 0 1 0 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0 0 0 1 1 1 1 1 1 0 1 1 1 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 0 0 1 0 1 1 0 1 1 1 1 1 1 1 1 0 1 0 0 0 0 1 1 1 1 0 1 1 1 0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 0 1 1 1 1 1
  5 Comments
Arif Hoq
Arif Hoq on 14 Mar 2022
i dont now about your expectation. I guess you trying to find the value x between 4 and 6, so try this
Transparency=t(t>=4 & t<=6)
Pelajar UM
Pelajar UM on 14 Mar 2022
The idea is to make the elements that fall outside a range transparent. That's why there is OR. Bigger than a certain value, smaller than a certain value. You can pick any number. 4 and 6 are arbitrary.

Sign in to comment.


Jan
Jan on 14 Mar 2022
find() replies the indices of the non-zero elements. Indices are positive integers >= 1.
ismembertol(x, Transparency, 1e-16) searchs for elements of x, which are less than 1e-16 apart from any index stored in Transparency. None of the elements of x is close enough to 1, and 1 is the smallest possible value of Transparency. You have confused indices and the corresponding values.

Categories

Find more on Data Distribution Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!