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 件のコメント

Walter Roberson
Walter Roberson 2013 年 2 月 15 日
And do you need to include negative values? How about fractional values?
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 件)

カテゴリ

質問済み:

2013 年 2 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by