3D 多项式回归

发布于 2024-09-26 21:33:52 字数 119 浏览 0 评论 0原文

我需要一些指导来编写 3 维点的多项式回归例程(即找到适合一定数量的 3D 点的 X 阶多项式的系数)。

我找到了二维多项式回归的代码,但是,我需要考虑第三维。

我正在寻找代码示例和/或解释。

I need some pointers for writing a polynomial regression routine for 3-dimensional points (i.e. find the coefficients of an X order polynomial that is fitted to a certain number of 3D points).

I've found code for 2D polynomial regression, however, I need to account for a 3rd dimension.

I'm looking for code examples and/or explanations.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

流绪微梦 2024-10-03 21:33:52

MATLAB 函数 polyfit 应该很容易做到这一点。
http://www.mathworks.de/de/help/matlab/ref /polyfit.html

您可以使用 MATLAB 吗?

The MATLAB function polyfit should readily do it.
http://www.mathworks.de/de/help/matlab/ref/polyfit.html

Is MATLAB available to you?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文