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

Risposte (2)

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

Star Strider
Star Strider il 22 Nov 2016

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by