1sem matlab 05

This commit is contained in:
Andrew 2019-11-29 08:11:27 +07:00
parent 41d0b979d1
commit 018bac4688
5 changed files with 110 additions and 0 deletions

View file

@ -0,0 +1,5 @@
function [r] = alph_redundancy(P);
ent = alph_entropy(P);
mx_ent = log2(length(P))
r = 1 - ent/mx_ent;
endfunction;