MATLAB

13.2 A quadratic Julia set has the form

z(n+1)=z(n)^2+c

The special case where c=-.123+.745i is called Douday's rabbit fractal. Follow example 13.1, and create an image using this value of c. For the Madelbrot image, we started with all z-values equal to 0. You'll need to start with z=x+yi. Let both x and y vary from -1.5 to 1.5.

I'm really confused by this question. Here's my attempt at a solution. I really hope someone can help me. My book did a very bad explaining the matter.

Code:
>> iterations=80;
grid_size=500;
[x,y]=meshgrid(linspace(-1.5,1.5,grid_size),linspace(-1.5,1.5,grid_size));
c=-.123+.745*i;
z=x+y*i;
map=x+y*i;
for k=1:iterations
z=z.^2+c;
a=find(abs(z)>sqrt(5));
map(a)=k;
end
figure(1)
image(map)
colormap(jet)
??? Error using ==> image
Error using ==> image
Image CData can not be complex

  1. 👍 0
  2. 👎 0
  3. 👁 75
asked by Lee
  1. See
    http://www.jiskha.com/display.cgi?id=1310887564

    1. 👍 0
    2. 👎 0

Respond to this Question

First Name

Your Response

Similar Questions

  1. Programing

    apparently I was skipped by accident 13.2 A quadratic Julia set has the form z(n+1)=z(n)^2+c The special case where c=-.123+.745i is called Douday's rabbit fractal. Follow example 13.1, and create an image using this value of c.

    asked by Lee on July 17, 2011
  2. HELP!! Statistics!

    The accompanying data table lists measured voltage amounts supplied directly to a family’s home. The power supply company states that it has a target power supply of 120 volts. Using these home voltage amounts, test the claim

    asked by Lynn on June 3, 2015
  3. Physical Science

    Julia and Wayne heat their house during the winter with an electric heater. The thermostat on the heater is set to 20 °C and the thermostat is cycling on and off as it keeps the room temperature stable. Julia walks out of the

    asked by Raven on October 17, 2010
  4. thermodynamics

    Julia and Wayne heat their house during the winter with an electric heater. The thermostat on the heater is set to 20°C and the thermostat is cycling on and off as it keeps the room temperature stable. Julia walks out of the room

    asked by seb on August 31, 2013
  5. Math

    What do you learn from these stage directions? [The faintest trace of a smile on her lips] A. Julia is suddenly very happy. B. Julia knows something mistress don't know. C. Julia has made an important decision. D. Julia is

    asked by Clair on April 16, 2015
  6. L.A

    What do you learn from these stage directions in The Governess? [The faintest trace of a smile her lips] A. Julia is suddenly very happy. B. Julia knows something Mistress doesn't know. C. Julia has made an important decision. D.

    asked by Dawn on April 15, 2015
  7. Algebra

    I'm trying this again, I'd like the quadratic form, so i can then work the intercepts myself. SO: what's the quadratic form of 1/4(x+3)^2-4 I need it to find the intercepts of the parabola it describes. Check: I think the parabola

    asked by charlie on March 21, 2007
  8. Math

    Use the quadratic formula to solve each of the following quadratic equations... 1. 2x^2-5x=3 2. 3x^2-2x+1=0 Rearrange the equation in quadratic formula form. 2x^2 -5x -3 = 0 Then use the formula. Tell me what you don't understand

    asked by Tomika on June 13, 2007
  9. Pre-Calc

    Hello! I'm stuck on how to do this problem and would appreciate some help! Choose a non-zero complex number c for f(z) = z2+ c. Find a complex number v that is in the escape set. Find a complex number w that is in the prisoner

    asked by l on May 17, 2012
  10. Pre-Calculus

    Hello! I'm stuck on how to do this problem and would appreciate some help! Choose a non-zero complex number c for f(z) = z2+ c. Find a complex number v that is in the escape set. Find a complex number w that is in the prisoner

    asked by Anonymous on May 18, 2012

More Similar Questions