Random walk

some notes

% random walk
% each point on the graph is summation of previous random points
clear;clc;
% with mean 0 and std dev 1
x = randn(1,1000);
st = cumsum(x);
plot(st);

results matching ""

    No results matching ""