Matlab Database > GUIs, Graphics & Visualization > Fractals > IFS

Matlab File(s)

Title: IFS
Primary Author: M2-TUM
Other Authors:Marko Grob, Wiebke Heidelberg
E-Mail: matlabdb-AT-ma.tum.de
Institution: TU Munich
Description: ifs(N, flag) constructs a fractal picture by the
principle of a IFS (iterated function system).

It plots N single points according to a transformation
which is chosen randomly of a fixed set of transformations.
The set is determined by the value of flag:
flag = 0 results in the Sierpinski triangle;
flag = 1 draws the Koch curve;
flag = 2 shows a fractal tree;
flag = 3 returns a fractal farn leaf;
otherwise a christmas tree is constructed.

ifs(N) draws the farn leaf with N points.
ifs draws the farn leaf with N = 500000 points.

Usage: Type unzip ifs.zip
Contents: ifs.m chrtree.m farn.m frbaum.m koch.m sierdr.m

This file was generated by students as a partial fulfillment
for the requirements of the course "Fractals",
Winter term 2004/2005, Stuttgart University.

Keywords: fractal, Fraktale, iteration, iterated, function, system, IFS, transformation, random, Zufall
File Name: ifs.zip
File Size: 4 KB
File Version: 1.0
Matlab Version: 7.0
Date: 2005-02-02
Downloads: 3430
Download File

Upload your own files today! Click here for more information.