3D Linear Curve Fitting with guide

2 views (last 30 days)
cevdet kopuz
cevdet kopuz on 18 Dec 2019
Answered: Bhargavi Maganuru on 24 Dec 2019
How can I do 3D Linear curve fitting on gui ? Is there any video or code about this subject ?

Answers (1)

Bhargavi Maganuru
Bhargavi Maganuru on 24 Dec 2019
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);

Community Treasure Hunt

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

Start Hunting!