Question: Develop a flow chart for the follwing script, MATLAB Develop a flow chart for the follwing script, MATLAB Execute this script and be amazed by
Develop a flow chart for the follwing script, MATLAB

Develop a flow chart for the follwing script, MATLAB Execute this script and be amazed by the results! You can try more points to get a clearer picture, but it may take a while to run. clear clf x = rand y = rand: plot (x, y) hold on for it = 1: 10000 choic = round (rand*2): x = x/2: y = y/2: else if choic = 1 x = x/2 y/2: else if choic = 1 x = (x+1)/2: y = y/2: else x = (x +0.5)/2: y = (y+1)/2: end plot (x, y) hold on end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
