For anyone who is looking for some pointers on this problem: http://xkcd.com/138/
Alfonso, I've submitted the same values of x1 and x2 four times, and I've received four different distances. The solution numbers are 697837 and 699826-699828. I ran into this issue on my own computer, but thought it was just due to a much earlier version of MATLAB mucking things up. I'm not nearly smart enough to figure out why this is happening. Any thoughts?
I've seen same behaviour. Different results occur due to wind. Set parameter 'defs_windnoisy' to 0 when evaluating drawMegan() and distance becomes "stable" (4609 in case of this solution). Most unstable solution I've found was getting distance between 330 up to around 2700.
Hackathon: the beginnings
Find: Faster Alternatives for Large Sorted/Unique Vectors
Smallest distance between a point and a rectangle
One track five lanes
Spherical surface triangulation
Knave in the middle attack
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office