How to do curve fitting with two variables (using lsqcurvefit )

Hi
I'm using Matlab 7
I tried lsqcurvefit function to find params when it was with one variable, like y=f(x) How can I do the same when I have 2 inputs like z=f(x,y)?
Thank you for your help, Janna

Gefragt:

am 24 Jul. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by