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 views (last 30 days)
The problem also extends to the demodulation where if I sent 1+J I get 1-j since I'm using hard decision

Answers (2)

KSSV
KSSV on 22 Nov 2016
Read about floating point numbers.

Star Strider
Star Strider on 22 Nov 2016

Tags

Community Treasure Hunt

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

Start Hunting!