文件名称:计算点到曲线距离的Matlab代码
文件大小:56KB
文件格式:M
更新时间:2021-02-14 16:37:32
点到曲线距离 Matlab
function [xy,distance,t_a] = distance2curve(curvexy,mapxy,interpmethod) % distance2curve: minimum distance from a point to a general curvilinear n-dimensional arc % usage: [xy,distance,t] = distance2curve(curvexy,mapxy) % uses linear curve segments % usage: [xy,distance,t] = distance2curve(curvexy,mapxy,interpmethod)