Question
A rather beautiful fractal picture can be drawn by ploting the picture can be drawn by ploting the point (Xk,Yk) generated by the following difference
A rather beautiful fractal picture can be drawn by ploting the picture can be drawn by ploting the point (Xk,Yk) generated by the following difference equations
Xk+1=Yk(1+sin0.7Xk) -1.2rad(abs(xk))
Yk+1 =0.21 - Xk
Starting with X0=Y0=0. write a matlab program to draw the picture(plot individual points; do not join them)
Complete problem 9.7 on page 235 of the text following the program description below.
% Program Description:
% The purpose of this program is to create four plots of the fractal function
% given in problem 7.7 on page 204 of the text. To maximize efficiency only
% one for loop should be used. The first graph should plot the first 250
% points of the x and y vectors. The other graphs should include the
% following points: Graph 2: 1st 2500 points, Graph 3: 1st 5000 points,
% Graph 4: All 20000 points.
Use the point ( . ) marker type with a marker size of 0.5 to produce the four graphs in a single figure window as shown below. The resolution of the graphs below is less than that in the Matlab figure window.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started