how to convert decimal into binary?

if a =
-5932.62103114252
5931.17666698258
5797.34103035393
-6358.78042353988
-12430.1210180646
-9849.27324380255
-6386.88118380371
7783.15716000243
5177.38696737792
6082.47763148202
-4816.43707738488...........
of size 1000X1 double how to convert it into binary of same length as 1000X1 for modulation and to transmit

 采纳的回答

Walter Roberson
Walter Roberson 2014-4-21

4 个评论

sir is there any direct function or comment for this
If you want the result to be the same length, then
typecast(YourFloatingPointVector, 'uint64')
and the result will be a series of unsigned 64 bit integers that you can apply your integer transmission methods to.
sir the streams has to be binary then only i can modulate sir ...
@ashok: Accepting an answer means, that the problem is solved.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 PHY Components 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by