Question: problem 1 1. (10 points) Use MATLAB to write a program to implement a symmetric random walk Xn of n steps, starting at X0 =
problem 1
1. (10 points) Use MATLAB to write a program to implement a symmetric random walk
Xn of n steps, starting at X0 = 0, using a random number generator.
to choose the direction for each step. provide a printout of your code.
2. (5 points) Run your program for N = 10, 000.
3. (5 points) Plot Xn as a function of n, for 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
