1 Star 0 Fork 1

nealliu / rrt_dynamic

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Nearest.m 125 Bytes
一键复制 编辑 原始数据 按行查看 历史
Chahat Deep Singh 提交于 2017-04-27 05:04 . First Commit
function [xnearest] = Nearest(x,V)
for i=1:(size(V,1) )
L(i)= norm(x-V(i,:));
end
[p,I]=min(L);
xnearest=V(I,:);
end
Matlab
1
https://gitee.com/nealliu/rrt_dynamic.git
git@gitee.com:nealliu/rrt_dynamic.git
nealliu
rrt_dynamic
rrt_dynamic
master

搜索帮助