Problem 61056. Mandelbrot Set Generator Class
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
Christian Schröder
on 1 Nov 2025 at 19:56
For reference, this expects you to follow the convention that Z is 0 for points that do not escape.
Solution Comments
Show commentsProblem 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!