9 lines
101 B
Matlab
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
|