| Description |
This simple m-File provides the beautiful nature of the Mandelbrot set (as well as its incredible deep structure).
Type "help mandel" in your MATLAB command window to get the following description:
MANDEL Draws the Mandelbrot set. MANDEL(x1,x2,y1,y2,r,n,s,it) draws the Mandelbrot set in the region
R = [x1,x2] x i [y1,y2].
The number n defines a grid in R with n^2 points.
The number it denotes the number of iterations
z -> z^r + c
taken by MANDEL.
The result is better for large values of n and it.
MANDEL does not draw each iteration, but only each s-th iteration. A good choice is 5 <= s <= 10.
You may start with x1 = -2, x2 = 1, y1 = -1.2, y2 = 1.2 and then "zoom in" by just specifing the new region with the cursor in the current figure. |