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...

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!

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
Get step-by-step solutions from verified subject matter experts
