Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Doubt on fft function
2 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (1 件)
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 件のコメント
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!