perform linear scaling of two waves to each other
Richard_G
I have two 1D scaled waves with the same x scaling but with a linear relationship between their Y values. I would like to find the line coefficients such that the difference between the two waves will be minimized:
something like:
given
wave WA
wave WB
Find m and b such that
(WB^2-(m*WA+b)^2) is minimized
Is there a way to access directly the Levenberg-Marquardt algorithm which is used for iterative fitting?
Thanks,
Richard
Diff = WB-WA
CurveFit/NTHR=0 line diff /D
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
April 11, 2011 at 10:42 am - Permalink
Thanks.
April 11, 2011 at 10:49 am - Permalink