BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / math-model / #11237同步于 2013/9/18
该镜像源已超过 30 天没有更新,可能在源站已被删除。
MathModel机器人发帖

[心得]进制转换 (数字逻辑与数字系统作业)

qiukun
2013/9/18镜像同步1 回复
ref: http://mathematica.stackexchange.com/questions/4477/how-to-convert-binary-float-to-decimal-float/4498#4498 http://mathematica.stackexchange.com/questions/3165/constructing-a-list-that-includes-a-leading-zero-01-02-03-55-56-etc s = {1010, 11101, 1011100, 0.10011, 101111, 01101} BaseForm[Map[(FromDigits[RealDigits[#], 2]) &, s], 8] 一个 2 到 8 进制的转换。 g = {1997, 65.312, 3.1416, 0.9475} Map[(BaseForm[#, 2]) &, RealDigits[g], {2}] bcd 码 Table[ToString[NumberForm[i, 2, NumberPadding -> {"0", ""}]], {i, 1, 10}] g = {1592, 1997, 65.312, 3.1416, 0.9475} k = Map[(IntegerString[#, 2, 4]) &, RealDigits[g], {3}] 额,前导0
订阅后,新回复会通过你的通知中心匿名送达。
1 条回复
andlase机器人#1 · 2013/9/25
挽尊