Question: Please help me with this Matlab question. Thank you so much Problem 2. Let x[n] be a random sequence generated by x=2*rand-1 and y[n]=x[n]-X[n-1). What
Please help me with this Matlab question. Thank you so much

Problem 2. Let x[n] be a random sequence generated by x=2*rand-1 and y[n]=x[n]-X[n-1). What are the expected number of sign changes in y? What are the acf coefficients at lag 0, 1, 2, 3? Verify your analysis in Matlab. (A fairly challenging problem is to figure out what is the probability of turning points in y. Simulation shows that it's about 73%~11/15). Problem 2. Let x[n] be a random sequence generated by x=2*rand-1 and y[n]=x[n]-X[n-1). What are the expected number of sign changes in y? What are the acf coefficients at lag 0, 1, 2, 3? Verify your analysis in Matlab. (A fairly challenging problem is to figure out what is the probability of turning points in y. Simulation shows that it's about 73%~11/15)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
