Calculating Entropy of a file and coding it using Hamming

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

Viewing 0 reply threads
  • Author
    Posts
    • #2206
      RolandoGwendole
      Participant

      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 :

Viewing 0 reply threads
  • You must be logged in to reply to this topic.