Thread: Random Pics
View Single Post
Old 02-26-2019, 12:40 PM   #1530
xoxoxoBruce
The future is unwritten
 
Join Date: Oct 2002
Posts: 71,105
Quote:
dist1 = lsdist(xys(j,: ), xys(j+1,: ),xyi(i,: ));
dist2 = lsdist(xys(j+1,: ), xys(j,: ),xyi(i,: ));
dist = max(dist1,dist2);
dmin = min(dmin,dist);
if dist<=lroad
Of course, why didn't I think of that?

I had to edit that, the first time it ended up like this...
Quote:
dist1 = lsdist(xys(j,, xys(j+1,,xyi(i,);
dist2 = lsdist(xys(j+1,, xys(j,,xyi(i,);
dist = max(dist1,dist2);
dmin = min(dmin,dist);
if dist<=lroad
__________________
The descent of man ~ Nixon, Friedman, Reagan, Trump.
xoxoxoBruce is offline   Reply With Quote