how to convert complex numbers to binary bits

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

For what purpose? Some proprietary floating point representation or what?
What exactly are "binary bits"? Everything is stored in bits inside a computer. So what do you actually need?
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
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 MATLAB in Help Center and File Exchange

Asked:

on 2 Jan 2015

Edited:

on 6 Jan 2015

Community Treasure Hunt

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

Start Hunting!