Question: In MATLAB. I'm having issues getting this script to plot... Everytime I run the script this is the graph that pops up... Nothing is there

In MATLAB. I'm having issues getting this script to plot...

In MATLAB. I'm having issues getting this script to plot... Everytime I

Everytime I run the script this is the graph that pops up... Nothing is there everytime! Please help me understand why this keeps happening. Thank you!

run the script this is the graph that pops up... Nothing is

Execute this script and be amazed by the results! You can try more points to get a clearer picture, butit 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); if choic- x=x/2 y=y12; x = (x+1)/2; y=y12; x = (x+0.5)/2; y = (y+1 ) / 2 ; elseif choic-1 else end plot(x.y) hold on end

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!