home
pi
edit testes_PIexp.m
what
edit solucoes_exercicios_1a_aula
'a'
'a'+0
'A'+0
clear
home
edit triangulo_Sierpinski
triangulo_Sierpinski
C = triangulo( 100 );
plot( C, '.' )
C = triangulo( 1000 );
plot( C, '.' )
plot( triangulo(1e3), '.' )
plot( triangulo(1e5), '.' )
plot( triangulo(1e5), '.', 'markersize', 1 )
[ C, regras ] = triangulo( 1e5 );
plot( C, '.b', C(regras==1), '.r' )

plot( C, '.b'), hold on, plot( C(regras==1), '.r' )
edit triangulo_Sierpinski.m
edit fractal_feto
help fractal_feto
[ X, Y, R ] = fractal_feto( 1e5 );
plot( X, Y, '.g' )
figure, plot( X, Y, '.g' )
figure, plot( X, Y, '.g', 'markersize', 1 )
figure, hold on
plot( X(R==1), Y(R==1), '.g' )
plot( X(R==2), Y(R==2), '.b' )
plot( X(R==3), Y(R==3), '.r' )
plot( X(R==4), Y(R==4), '.k' )
