Create a class Mandelbrot that computes the Mandelbrot set on a given complex plane window.
The Mandelbrot set is defined by iterating:
starting from
, and counting how many iterations are required for
.
Requirements:
- Class properties: xlim, ylim, resolution, maxIter
- Method generate() returns a 2D matrix Z of iteration counts.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers2
Suggested Problems
-
Mandelbrot Set Generator Class
2 Solvers
More from this Author61
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
For reference, this expects you to follow the convention that Z is 0 for points that do not escape.