![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/277571/image.png)
Fitting an Asphere to a set of 3D point cloud data
5 次查看(过去 30 天)
显示 更早的评论
Hello,
I have a set of X, Y, Z values that form an "asphere", the formula for this asphere is as follows:
R = -353.5;
k = -1.0;
c = 1/R;
Form =@(x, y, k, c) c*((x-x0).^2+(y-y0).^2) ./(1+sqrt(1-(1+k)*c^2*((x-x0).^2+(y-y0).^2))); % x0, y0 coordinates of the center of the asphere
My qustion is: how can I use MATLAB cftool (or any other way) to fit an asphere made with the above formula to the 3D data (X, Y, Z) to obtain the minimum residual.
Any help is much appreciated.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!