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.
Direct link to this comment:
Which unary coding? http://en.wikipedia.org/wiki/Unary_coding
And do you need to include negative values? How about fractional values?
Yes this unary coding.Actually the concept is over there in http://en.wikipedia.org/wiki/Golomb_coding. Shouldnt need fractional and negative values.
Do you want the end-of-string marker to be 0's or 1's?
No products are associated with this question.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test
Opportunities for recent engineering grads.
New to MATLAB?
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:
See all countries