3D Linear Curve Fitting with guide

1 次查看(过去 30 天)
How can I do 3D Linear curve fitting on gui ? Is there any video or code about this subject ?

回答(1 个)

Bhargavi Maganuru
Bhargavi Maganuru 2019-12-24
You can export .fig file to the .m file (File -> Export to MATLAB file) and edit in the OpeningFcn.
For example, paste the following code in the OpeningFcn
load franke
sf = fit([x,y],z,'poly23');
plot(sf,[x,y],z);

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by