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.
Replace Vector Elements
Multiply 2 numbers
Divisors of an integer
Say something funny
Spherical surface triangulation
Knights and Knaves (part 1)
Smallest distance between a point and a rectangle
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