Home /
Expert Answers /
Computer Science /
in-matlab-a-rather-beautiful-fractal-picture-can-be-drawn-by-plotting-the-points-left-x-k-y-pa963

IN MATLAB

A rather beautiful fractal picture can be drawn by plotting the points \( \left(x_{k}, y_{k}\right) \) generated by the following difference equations \[ \begin{array}{l} x_{k+1}=y_{k}\left(1+\sin 0.7 x_{k}\right)-1.2 \sqrt{\left|x_{k}\right|} \\ y_{k+1}=0.21-x_{k} \end{array} \] starting with \( x_{0}=y_{0}=0 \). Write a program to draw the picture (plot individual points; do not join them).

Solution:-%Hello this is the matlab code for your Fractal problem. Enjoy