2022年2月22日
摘要: tol=0; adjacent_point_dist=[]; % 这个变量用来存储车道线上相邻点之间的距离 points_veryclose=[]; %2021.12.25 通过定义 adjacent_point_dist这个变量发现,相邻点之间的距离个别是0.2mm,这个不正常,这样相邻的点应该去 阅读全文
posted @ 2022-02-22 11:59 一杯明月 阅读(239) 评论(0) 推荐(0)
摘要: x=0:2*pi; y=sin(x); xx=0:0.5:2*pi; %interp1对sin函数进行分段线性插值,调用interp1的时候,默认的是分段线性插值 y1=interp1(x,y,xx); figure plot(x,y,'o',xx,y1,'r') title('分段线性插值') % 阅读全文
posted @ 2022-02-22 11:20 一杯明月 阅读(2035) 评论(0) 推荐(0)