- /
-
Binomial random walk
on 6 Oct 2021
- 3
- 42
- 2
- 0
- 111
axes('NextPlot','add');
for n=1:10
a=pi*round(4*rand(1,1e6))/2;
plot(cumsum(cos(a)),cumsum(sin(a)));
end
axis equal off