I'm dealing with very small numbers in matlab and I came across this problem .. I have a vector (x) that I add a D.C. Value to it ( constant number around 0.5) and then I subtract the number to get y.. the problem is x is not equal to y, why?

2 ビュー (過去 30 日間)
Diana
Diana 2016 年 11 月 22 日
回答済み: Star Strider 2016 年 11 月 22 日
The problem also extends to the demodulation where if I sent 1+J I get 1-j since I'm using hard decision

回答 (2 件)

KSSV
KSSV 2016 年 11 月 22 日
Read about floating point numbers.

Star Strider
Star Strider 2016 年 11 月 22 日

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by