Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. HP†d€H EPŠ€E iEPƒ1€E OGP†d€G HP†d€H JP†d€J LP†d€L.......
  2.  
  3. Error using huffmanenco (line 86)
  4. The Huffman dictionary provided does not have the codes for all the input
  5. signals.
  6.  
  7. Error in RETO2 (line 35)
  8. enco=huffmanenco(double(x),dict);
  9.  
  10. fileID = fopen('reto2014.mid');
  11. [x,cont]=fscanf(fileID,'%c');
  12. fclose(fileID);
  13.  
  14. y=[1:256];
  15. va = hist(double(x),y);
  16. prob= va./cont;
  17. bar(y,prob)
  18.  
  19. [dict,avglen]=huffmandict(y,prob);
  20. enco=huffmanenco(double(x),dict);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement