Рет қаралды 769
This video shows how to generate fractals in Matlab and describes the arithmetic on complex numbers on which some fractals are based. All the code works in Octave, but much of it runs substantially slower.
This video is part of a series comprising a complete introductory course in Matlab / Octave. The full playlist is here: • Downloading Octave for...
Google drive link to all Matlab code: drive.google.c...
Direct links to code and resources used in this video are here:
Main.m
drive.google.c...
getFractal.m
drive.google.c...
complexCount.m
drive.google.c...
getReal.m
drive.google.c...
getFractalColor.m
drive.google.c...
getFractalColorSmooth.m
drive.google.c...
fractalColorSmooth.m
drive.google.c...
getFractalZoom.m
drive.google.c...
getJuliaFractal.m
drive.google.c...
Sources:
www.maths.unsw...
For more information check out:
stackoverflow.c...
And scroll down to "Programming the Mandelbrot is easy"
If you are interested in extending this project,
the following two websites would be good places
to start:
www.fractal.org...
www.intmath.co...
AND! If you're interested in corresponding Python code to generate these same fractals, you can find it here (Pygame is required):
simple_version.py
drive.google.c...
zoom_version.py
drive.google.c...
My science fiction novel Crew of Exiles is available for purchase at any of the following links:
www.amazon.com...
www.barnesandn...
As an audiobook:
www.audiobooks...
www.kobo.com/u...