ismembertol: What am I doing wrong?

1 回表示 (過去 30 日間)
Pelajar UM
Pelajar UM 2022 年 3 月 14 日
コメント済み: Steven Lord 2022 年 3 月 14 日
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);

採用された回答

Steven Lord
Steven Lord 2022 年 3 月 14 日
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 件のコメント
Pelajar UM
Pelajar UM 2022 年 3 月 14 日
編集済み: Pelajar UM 2022 年 3 月 14 日
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 2022 年 3 月 14 日
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".

サインインしてコメントする。

その他の回答 (2 件)

Arif Hoq
Arif Hoq 2022 年 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0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 0 0 0 0 1 0 0 0 1 1 1 1 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 件のコメント
Arif Hoq
Arif Hoq 2022 年 3 月 14 日
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 2022 年 3 月 14 日
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.

サインインしてコメントする。


Jan
Jan 2022 年 3 月 14 日
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.

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by