Prev: Compilers for 64-bit MATLAB r2008a
Next: Image too big: the image is scaled, but i need the true values
From: rams on 24 Mar 2010 14:10 I have 3 data-sets A, B, and C and each of which contains 728 data points. A and B both are same physical quantities but A is modeled data and B is measured data. A is a function of C. Now i need to change C values such that A values fit B values. Please suggest how can i do that in Matlab..thanks in advance...
From: Torsten Hennig on 24 Mar 2010 23:26
> I have 3 data-sets A, B, and C and each of which > contains 728 data points. A and B both are same > physical quantities but A is modeled data and B is > measured data. A is a function of C. Now i need to > change C values such that A values fit B values. > Please suggest how can i do that in Matlab..thanks in > advance... From what you tell us about your problem, nothing more can be said than: Use lsqnonlin or lsqcurvefit to minimize sum_{i=1}^{n} (A(C_i)-B_i)^2. Best wishes Torsten. |