%% Historico de Comandos 6a aula
dir
cd aula_6\
what
dir
what
edit estuda_tamanho_palavras.m
help errorbar
edit estatistica.m
estatistica( Tamanhos )
IDIOMA
estatistica( Tamanhos )
close all
clear
home
dir
edit estuda_criador_aleatorio_palavras.m
X = [11 9 4 7 10 5]
std( X )
mean( X )
sqrt(mean( X ))
sqrt(64)/12463
100*sqrt(64)/12463
Afake(1:20)
clear
home
clear
IDIOMA = 'Portugues';
% IDIOMA = 'Ingles';
A = leia_lista( IDIOMA );
A(1:20)
edit estuda_sequencia_letras
whos
[ yHa ] = hist( double(depois_a), 1:255 );
[ yHb ] = hist( double(depois_b), 1:255 );
figure
subplot(2,1,1)
plot( yHa, '*-' )
subplot(2,1,2)
plot( yHb, '*-' )
fHa = yHa/sum(yHa);
fHb = yHb/sum(yHb);
figure, plot( 1:255,fHa, '*-',1:255,fHb, '*-r' )
whos
figure, plot( 1:255, fH{1}, '*-', 1:255, fH{2}, '*-r' )
figure, plot( 1:255, [fH{1}  fH{2}], '*-r' )
figure, plot( 1:255, [fH{1};  fH{2}], '*-' )
figure, plot( 1:255, [fH{1}; fH{2}; fH{3}; fH{4}; fH{5}], '*-' )
legend( 'a','b','c','d','e' )
sum( abs(fH{1}-fH{5}) )
sum( abs(fH{1}-fH{2}) )
sum( abs(fH{2}-fH{3}) )
D(1:5,1:5)
figure, imagesc( D )
set( gca, 'xtick', 1:26 )
set( gca, 'xtick', 1:26, 'xticklabel', char(97:122) )
set( gca, 'xtick', 1:26, 'xticklabel', char(97:122)' )
set( gca, 'ytick', 1:26, 'yticklabel', char(97:122)' )
help colormap
colormap( gray )
close all
edit estuda_criador_aleatorio_palavras.m
Afake(1:20)
char(Afake(1:20))
prob_fake
figure, plot( prob_fake, '*-' )
char(Afake(1:20))
char(Afake(1:50))
char(Afake(1:100))
char( reshape(Afake(1:500),[],50) )
char( reshape(Afake(1:500),50,[])' )
home
profile on
estuda_criador_aleatorio_palavras
profile on
estuda_criador_aleatorio_palavras
help profile
profview
estuda_criador_aleatorio_palavras
