Info

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

Doubt on fft function

조회 수: 2 (최근 30일)
Pooja
Pooja 2013년 2월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
x=[1 2 6] x=fft(x) x =
9.0000 -3.0000 + 3.4641i -3.0000 - 3.4641i
x=x>-3
x= 1 0 0.
why this is coming as binary ?can this idea could be used as a binary coder? Expecting your kind reply.Thank you.

답변 (1개)

Walter Roberson
Walter Roberson 2013년 2월 7일
It isn't coming out as binary: it is coming out as logical, as you have assigned the result of the comparison to the variable "x".
If you are trying to extract the elements that are greater than -3 then
x(x>-3)
Please be careful about using comparison operations with complex data.
  댓글 수: 2
Pooja
Pooja 2013년 2월 7일
편집: Pooja 2013년 2월 7일
Sir,from where we get solutions to these type of problems.From any matlab books?
Image Analyst
Image Analyst 2013년 2월 7일
There's a very nice list of "Answers" that you'll want to review here: http://www.mathworks.com/matlabcentral/answers/?search_submit=answers&query=tag%3Atutorial&term=tag%3Atutorial, particularly this one.

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by