LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fitting two datasets to two different models with common parameters

Hello! I need to fit two datasets simultaneously to two different models, which have common parameters. Both of the data sets have the same x-values, but different y-values.

 

Can anybody help me with the problem?

 

Thanks!

0 Kudos
Message 1 of 3
(2,337 Views)

You can put two copies of the curve fitting VI on your block diagram.  Wire the same X values to both.  Put the apprpriate Y values with the corresponding model.  

 

This seem pretty obvious, so I probably misunderstand your problem.  Post your VI along with some typical data and the expected results.

 

Lynn

0 Kudos
Message 2 of 3
(2,335 Views)

Here is an old example I think does what you want.  The two curves are exponentials (a*exp(b*x)+c) and share the b parameter.  Both curves have the same X values. 

 

-Jim

0 Kudos
Message 3 of 3
(2,316 Views)