The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Random 3-D Walk
Replies: 1   Last Post: Oct 21, 2012 10:34 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 12
Registered: 6/18/12
Random 3-D Walk
Posted: Oct 20, 2012 4:59 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I'm interested in writing a code that can run through random 3-D walk, with many many steps. I want to be able to count the number of times the random walker touches/bounces off of a particular (impenetrable, x-y) plane .

Then! I'd like to be able to run that simulation/counter many, many times as well to find the average number of times to walker passes the plane.

What should my code structure look like? How might I make the execution fairly simple/quick?

I'd really appreciate any advice or not-so-common tips which may be of use!

Thank you,

Date Subject Author
Read Random 3-D Walk
Read Re: Random 3-D Walk

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.