Word Sort Finder

Description
Encontra todas as palavras que combinem com as letras fornecidas e que contenham um numero prescrito de caracteres.

Please download to get full document.

View again

of 2
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information
Category:

Documents

Publish on:

Views: 2 | Pages: 2

Extension: TXT | Download: 0

Share
Transcript
  clearclcticglobal dicionarioL = 'srnveio';n = 5;%--------------------------------------------if isempty(dicionario)load('dicionario.mat');end%--------------------------------------------L = sort(L);ind = perms(1:lengt(L));for i=1:lengt(ind(:!1)) t t(i!:) = L(ind(i!1:n));end#=$;for i=1:lengt(t t(:!1)) cont = $; for =i&1:lengt(t t(:!1)) if strcmp(t t(i!:)!t t(!:)) cont=cont&1; end end if cont==$ #=#&1; permtacoes(#!:) = t t(i!:); endend%--------------------------------------------#=$;for i=1:lengt(permtacoes(:!1))for =1:lengt(dicionario)if lengt(dicionario)==nif strcmp(permtacoes(i!:)!dicionario)#=#&1;palavras*p(#!:)=permtacoes(i!:);% fprintf('%i %+.,f s - %sn'! #! toc! palavras*p(#!:))endendendend#=$;for i=1:lengt(palavras*p(:!1)) cont = $; for =i&1:lengt(palavras*p(:!1))    if strcmp(palavras*p(i!:)!palavras*p(!:)) cont=cont&1; end end if cont==$ #=#&1; palavras(#!:) = palavras*p(i!:);fprintf('%i - t %sn'! #! palavras(#!:)) endend% palavras;toc
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks