get nearest using 2 vec

find nearest destination point from source point(source vector)

http://wcnet.blog.ir/post/14

You are now following this Submission

%%calling script
% find nearst dest point from source point(source vector)
% sourcPos.x=randi([-100,100],1,100);
% sourcPos.y=randi([-100,100],1,100);

%
% destPos.x=randi([-100,100],1,30);
% destPos.y=randi([-100,100],1,30);

% [unDestInd, gridDist,selctedDest,selctedDict]=getNearstDest2D(destPos, sourcPos,1,1);

Cite As

moussa hasanzadeh (2026). get nearest using 2 vec (https://se.mathworks.com/matlabcentral/fileexchange/81568-get-nearest-using-2-vec), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0