durchschnitt(n,kont,h,flag) draws the cut through a fractal landscape. |
The landscape is given by a recursively computed mountain -
with or without randomisation.
n gives the number of iterations.
kont is the contraction factor.
h is a constant height that is added in every step (for the random version).
flag indicates whether the height difference is chosen
flag = 0 is random, every other flag gives the
durchschnitt(n,kont,h) gives a random landscape.
durchschnitt(n) uses kont = 0.5, h = 0.3.
durchschnitt uses n = 6 in addition.
Usage: Type unzip durchschnitt.zip.
Contents: durchschnitt.m durchschnitt_matrix.m map.mat mat2.mat
This file was generated by students as a partial fulfillment
for the requirements of the course "Fractals",
2004/2005, Stuttgart University.