Clear Filters
Clear Filters

Modelling with 2 input variables and 1 output variable

5 views (last 30 days)
I understand that if we have 1 input variable and 1 output variable, we can do modelling using polyfit.
However, say I have 2 inputs, maybe in the form of f(x,y) = something, is it possible to perform some form of fit as well? Thanks in advance!
Sorry if the question is phrased poorly, I don't think I know the terminologies for this.

Answers (1)

Davide Masiello
Davide Masiello on 28 Nov 2023
Hello - I would recommend reading the documentation of the function fit.


Find more on Get Started with MATLAB 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!