MM92x
MM92x

Reputation: 568

Polyfit for more than one variable?

Does it exists a function similar to polyfit to interpolate n variables? polyfit use x, y, N, where N is the degree, instead I would like to use x, y, z, and N. Any idea?

Upvotes: 1

Views: 762

Answers (1)

musically_ut
musically_ut

Reputation: 34288

To the best of my knowledge, there isn't a direct function which you can use in MATLAB. However, you can solve the problem manually using fitlm.

Upvotes: 1

Related Questions