Modelling with 2 input variables and 1 output variable

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)

Hello - I would recommend reading the documentation of the function fit.

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Asked:

on 28 Nov 2023

Answered:

on 28 Nov 2023

Community Treasure Hunt

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

Start Hunting!