zeichne_Dreiecke(n,factor,flag) draws a fractal |
landscape given by a recursively computed mountain in 3D.
It consists of triangles and can be constructed with or without randomisation.
n gives the number of iterations.
factor is the contraction factor.
flag indicates whether the height difference is chosen randomly -
flag = 0 is random, every other flag gives the deterministic picture.
zeichne_Vierecke(n,factor) plots a random mountain (flag = 0).
zeichne_Vierecke uses n = 6 and factor = 0.4 in addition.
Usage: Type unzip zeichne_Dreiecke.zip
Contents: zeichne_Dreiecke.m Dreiecke_matrix.m mat2.mat
This file was generated by students as a partial fulfillment
for the requirements of the course "Fractals",
2004/2005, Stuttgart University.