Question: Code in Juila Problem 4 - Mandelbrot set The Mandelbrot set is the set of complex numbers zo = C such that the quadratic recurrence

 Code in Juila Problem 4 - Mandelbrot set The Mandelbrot set

Code in Juila

Problem 4 - Mandelbrot set The Mandelbrot set is the set of complex numbers zo = C such that the quadratic recurrence equation 2n+1 = z + c does not tend to infinity To visualize the set, you will: 1. Create a matrix of points in the complex plane 2. Iterate the recurrence for each point C until |zn| > 4, and count the number of iterations n 3. For the points where the number of iterations exceeds maxiter, we will assume that the sequence is convergent and set n = 0 4. Visualize the set by an image plot of the n-values Problem 4(a) Write a function with the syntax function mkcmatrix(xmin, xmax, ymin, ymax, nx, ny) which computes nx equidistributed numbers xk between xmin and xmax, ny equidistributed numbers y; between ymin and ymax , and returns the ny -by- nx matrix C with complex entries Cyk = Xx + iy;. In (): Problem 4 - Mandelbrot set The Mandelbrot set is the set of complex numbers zo = C such that the quadratic recurrence equation 2n+1 = z + c does not tend to infinity To visualize the set, you will: 1. Create a matrix of points in the complex plane 2. Iterate the recurrence for each point C until |zn| > 4, and count the number of iterations n 3. For the points where the number of iterations exceeds maxiter, we will assume that the sequence is convergent and set n = 0 4. Visualize the set by an image plot of the n-values Problem 4(a) Write a function with the syntax function mkcmatrix(xmin, xmax, ymin, ymax, nx, ny) which computes nx equidistributed numbers xk between xmin and xmax, ny equidistributed numbers y; between ymin and ymax , and returns the ny -by- nx matrix C with complex entries Cyk = Xx + iy;. In ()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!