0
我从一个点向任意形状的框的墙壁提供不同长度的数组。它们是在360度旋转过程中拍摄的,我还有度数测量。来自sensordata的Matlab绘图多边形
Distance(1:k); % distance to wall of arbitrarily shaped box during a rotation
Degree(1:k); % degrees rotated from first measurement
Time(1:k); % time passed since first measurement
我如何使用distance
和Time/Distance
绘制的形状看起来像箱子的形状?我尝试了convhull函数,想知道是否有更好的选择。
是你的观点你计算你的固定距离(模数旋转)? – BillBokeey
从固定点。在箱子里的任何地方。 F.ex矩形,八角形等。每次传感器顺时针旋转1度时,它也会对盒子的侧面进行长度测量。 – Barium
好的。你能提供一些样本输入和期望的输出吗? – BillBokeey