x = ent(1:length(ent)-1) estaba x = ent(j:length(ent)-1)
Merge branch 'master' of github.com:gmljosea/IA2