Decimal to binary and unary

4 views (last 30 days)
Pooja
Pooja on 15 Feb 2013
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 Comments
Pooja
Pooja on 16 Feb 2013
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 on 16 Feb 2013
Do you want the end-of-string marker to be 0's or 1's?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!