What is the algorithme ?
In order to solve and trace the King's dream fractal, I wrote a short program with MATLAB.
There are 3 parts :
- First, I initialize all the constants (a, b, c ,d) and the parameters (n, Xo, Yo).
- Then I make a loop on the time which lasts n times.
- Finally a green graphical ouput is made.
What is the MATLAB file ?
The MATLAB file is the following one.
% compute of x and y
% graphical output