【发布时间】:2016-11-13 13:46:26
【问题描述】:
我需要找到适合一组 3D 点的平面的 RMS(均方根)误差。我正在使用pcfitplane 函数,但我得到了一个索引数组。
我的代码:
% Create the point cloud object
% XYZ is a N by 3 matrix containing the points
ptCloud = pointCloud(XYZ);
[~,rmse] = pcfitplane(ptCloud,maxDistance);
% rmse is a 1 by N array, and the values are also from 1 to N!
我在这里缺少什么?如何正确获取 RMS 误差?
【问题讨论】:
标签: matlab data-fitting