how to convert complex numbers to binary bits
12 views (last 30 days)
Show older comments
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
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.
Accepted Answer
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).
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!