MATLAB Answers

Pooja

Decimal to binary and unary

Asked by 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

Walter Roberson
on 15 Feb 2013

Which unary coding? http://en.wikipedia.org/wiki/Unary_coding

And do you need to include negative values? How about fractional values?

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
on 16 Feb 2013

Do you want the end-of-string marker to be 0's or 1's?

Products

No products are associated with this question.

0 Answers

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today