Problem 81. Mandelbrot Numbers
For c==4 and other numbers where abs(c)>2, I think the function should be defined to return 0 rather than 1.
I am really stuck on this one. I know it is likley me not the question but I cannot figure out why in the final validation, -2i should give N=1, I get it to be N=2? any help is appriciated, this is the only situlation where code fails.
For people like me that hoped this challenge would end with a pretty picture:
for complex no, u need to take the absolute value to check if it is greater than 2
Broken ink to Cleve Moler's PDF
Thanks for noticing that, @Shlomo Geva. The link has been fixed.
Problem Recent Solvers1303
Make the vector [1 2 3 4 5 6 7 8 9 10]
Who knows the last digit of pi?
Check if number exists in vector
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!