필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Find indices of specific values

조회 수: 1 (최근 30일)
Marcin Kolacz
Marcin Kolacz 2021년 1월 22일
마감: Marcin Kolacz 2021년 1월 22일
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개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by