redundancy [InformationTheory]
— Function File: redundancy (code_word_list, symbol_probabilites)

Computes the wasted excessive bits over the entropy when using a particular coding scheme. For example

          prob_list = [0.5 0.25 0.15 0.1];
          min_bits = entropy(prob_list);
          cw_list = huffman(prob_list);
          redundancy(cw_list,prob_list)