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 comentarios

dpb
dpb el 2 de En. de 2015
For what purpose? Some proprietary floating point representation or what?
Jan
Jan el 2 de En. de 2015
What exactly are "binary bits"? Everything is stored in bits inside a computer. So what do you actually need?
ashok
ashok el 6 de En. de 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 el 6 de En. de 2015
No idea what you're asking for...give an example of what you think an input and output should be.

Iniciar sesión para comentar.

 Respuesta aceptada

Stephen23
Stephen23 el 6 de En. de 2015
Editada: Stephen23 el 6 de En. de 2015

0 votos

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).

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 2 de En. de 2015

Editada:

el 6 de En. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by