MATLAB Answers

3D Linear Curve Fitting with guide

3 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 ?

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by