Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Find indices of specific values

1 Ansicht (letzte 30 Tage)
Marcin Kolacz
Marcin Kolacz am 22 Jan. 2021
Geschlossen: Marcin Kolacz am 22 Jan. 2021
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 Kommentar
Marcin Kolacz
Marcin Kolacz am 22 Jan. 2021
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)

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by