Calculating Entropy of a file and coding it using Hamming

Home Forums C Programming Calculating Entropy of a file and coding it using Hamming

This topic contains 0 replies, has 1 voice, and was last updated by  RolandoGwendole 8 years, 5 months ago.

  • Author
    Posts
  • #2206

    Hello there!

    I am trying to solve a problem for a project i took and i am in the final

    part of it…(view below for my until now code)

    Well the aim is to calculate the entropy of a file and then to use

    Hamming to code it. I managed to make both parts based on what I learned

    from the class and read in the book. (Please if you are familiar with the

    object tell me if it is correct )

    So, my problem is that I am not able to merge those two parts below (you

    dont need to read the theory for it).. like finding the entropy and then

    continue for the coding of that file.

    Any help, advice, anything is appreciate.
    Thank you!

    Entropy Calculation


    Hamming coding :

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble