Question
Use Matlab. I want a html.
3. (5) For a random walk on the set = {0,1, 2,... , a}, with probability that p 0.51 of taking a step to the right, let ha de
0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) Obscrve that there are two possible moves from the point E Q,x 0,a cither to the left or to the right. Hence C +1 p( h ph+

b) We can use the following code to get a simulation for hx

N 10 h-[0]; for x-1:N p- 0 n x for M-1:100 while x !N n nsign(randn); if n N p p+1 break; end; if n 0 break; end; end; h(x) p

Add a comment
Know the answer?
Add Answer to:
Use Matlab. I want a html. 3. (5) For a random walk on the set = {0,1, 2,... , a}, with probability that p 0.51 of ta...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT