How to fit a curve to the following 3D data?

17 views (last 30 days)
Hello, I have extracted the data from two graphs. Let's say one is X vs Z with constant Y and the other is Y vs Z with constant X. I have plotted a 3D graph for the same. Now I need a function describing the relation between the 3 variables. I am uploading a sample file along with this question. How do I determine which curve fits the best and the equation for the same?
  3 Comments
Essam Ali
Essam Ali on 4 Feb 2021
please,did you get the answer?I have the same problem

Sign in to comment.

Answers (1)

Varun Gunda
Varun Gunda on 4 Apr 2017
If you have the Curve Fitting Toolbox , you could try interactive surface fitting .
If you don't have it, you could try polyfitn, which you can download from the File Exchange.

Categories

Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!