3D Linear Curve Fitting with guide

How can I do 3D Linear curve fitting on gui ? Is there any video or code about this subject ?

Answers (1)

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);

Categories

Asked:

on 18 Dec 2019

Answered:

on 24 Dec 2019

Community Treasure Hunt

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

Start Hunting!