
% choose the number of steps for the random walks
num_steps = 10000;

%% Run and plot the results of the UDLR random walk

[x,y] = two_d_walk_UDLR(num_steps);

subplot(1,2,1)
plot(x,y)
hold on
scatter(x,y,15,0:num_steps,'o','filled')
grid on
colorbar
title("Trajectory of UDLR Random Walker over " + num_steps + " Steps")

%% Run and plot the results of the Angle random walk

[x,y] = two_d_walk_angle(num_steps);

subplot(1,2,2)
plot(x,y)
hold on
scatter(x,y,15,0:num_steps,'o','filled')
grid on
colorbar
title("Trajectory of Angle Random Walker over " + num_steps + " Steps")


set(gcf,'position',[100 100 1100 450],'color',[1 1 1])