Clear Filters
Clear Filters

how to convert complex numbers to binary bits

7 views (last 30 days)
u = -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -32.0000000000000 - 34.0000000000000i -4.26082674233213 - 46.9096123019090i -4.26082674233213 - 46.9096123019090i -4.26082674233213 - 46.9096123019090i -4.26082674233213 - 46.9096123019090i -4.26082674233213 - 46.9096123019090i
size of u 81921 X 1
i need u of same size as binary bits
  4 Comments
ashok
ashok on 6 Jan 2015
this is an output of a randomly generated dvb t signal after taking fft i have to modulate vector of size 81921 x 1 but it is complex for better results i need it as an binary bits
dpb
dpb on 6 Jan 2015
No idea what you're asking for...give an example of what you think an input and output should be.

Sign in to comment.

Accepted Answer

Stephen23
Stephen23 on 6 Jan 2015
Edited: Stephen23 on 6 Jan 2015
This is a topic that has been discussed before on MATLAB Answers, and even some other forums:
Although it is important to note that the problem is ill-defined, because "There is no one right answer on how to represent a fractional number in binary" (quoted from Peter at the last link).

More Answers (0)

Categories

Find more on Entering Commands in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!