From: "Mohammad Monfared" <>
Newsgroups: comp.soft-sys.matlab
Subject: data fitting for 2 data sets and functions
Date: Sat, 20 Feb 2010 19:36:02 +0000 (UTC)
Organization: gol
Lines: 6
Message-ID: <hlpdj2$6nv$>
Reply-To: "Mohammad Monfared" <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1266694562 6911 (20 Feb 2010 19:36:02 GMT)
NNTP-Posting-Date: Sat, 20 Feb 2010 19:36:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 93829
Xref: comp.soft-sys.matlab:610050

Hi everybody,

I'd like to do a curve-fitting job for two sets of function and data, simultaneously. That is: functions are:  F1(x,t,u,z)   &   F2(x,u,z,w)  ['x' is the only argument and the others are parameters to be found] and for each function we are provided with data sets: Xs  and  Ys. I'm going to find the values of the parameters to best fit the two data sets in the same time. 
Is there any appropriate function in matlab or its toolboxes for this purpose or does any one know any trick?