Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I am doing an assignment for a class in college where we have to write an arithmetic encoder / decoder in Java.

In this video, it shows how to set up / define all the variables required for the algorithm. I am unsure how to set the values for the probability of each symbol (Pi).

If anybody could explain how to work out the value of R, ri and Pi I would really appreciate it!

share|improve this question
    
Could you be more concrete with the question please? what is exactly your doubt? –  Ambesh Apr 16 '13 at 21:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.