how to find the coefficients of an equation fitting 3 variables?

Hello
I have never done this before, usually i only had one variable so i jsut needed to use the "polyfit" function to find the coefficients of the equation fitting the 1 variable (say x) to y
but now i have data of three variables (x,y,z) and i want to get the coefficients of an equation which fits the 3 variables to an output m
is this possible in MATLAB?
Thank you

Answers (0)

Categories

Asked:

on 17 May 2013

Community Treasure Hunt

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

Start Hunting!