bio_img_pick

Pick of the Week

Recognizing outstanding contributions from the MATLAB ecosystem

Posts 11 - 11 of 11

MATLAB Puzzler: Finding the two closest points 29

Here is a new MATLAB Puzzler.
Given two vectors representing the X and Y coordinates of some points, find the two closest points in Cartesian space.

n = 10;
x = rand(1,n);
y = rand(1,n);

Brett… 더 읽어보기 >>

Posts 11 - 11 of 11