This repository has been archived on 2021-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
scientificComputing/programming/exercises/randomwalkscriptb.m

9 lines
101 B
Matlab

p = 0.5;
thresh = 50.0;
hold on
for k = 1:10
x = randomwalkthresh(p, thresh);
plot(x)
end
hold off