Decimal to binary and unary

5 次查看(过去 30 天)
Pooja
Pooja 2013-2-15
Please help me to write matlab code for decimal to both binary and unary.I need to make decimal to binary and unary which is used in rice codes.
  3 个评论
Pooja
Pooja 2013-2-16
Yes this unary coding.Actually the concept is over there in http://en.wikipedia.org/wiki/Golomb_coding. Shouldnt need fractional and negative values.
Walter Roberson
Walter Roberson 2013-2-16
Do you want the end-of-string marker to be 0's or 1's?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by