Find indices of specific values

Hi,
im trying to find the indices of values from this picture.
Was trying to make a find statement like: >> a=find(imag(X)<0.2 && imag(X)>-0.2) but it doesn't work. Is there any better way to find such indices?

1 件のコメント

Marcin Kolacz
Marcin Kolacz 2021 年 1 月 22 日
Edit:
I already solved it.
made 2 different statements:
a=find(imag(X)<0.2
b=find(imag(X)>-0.2
and then i used
c=intersect(a,b)

回答 (0 件)

この質問は閉じられています。

質問済み:

2021 年 1 月 22 日

閉鎖済み:

2021 年 1 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by