- #1
villiami
- 27
- 0
I'm currently working on a MATLAB program which, given two sets of data each representing curves, will transform (through rotations about the origin and x-y shifts) the first curve so it fits the second one best (so far in terms of sum of squares).
I have been able to create a program calculating vertical distance between the two curves, but because my curves double back on themselves I don't think this will really work.
Does anyone know how this might be done (in MATLAB or another language)? Or even just what this type of problem is called (I tried "Curve fitting", but this seems to only refer to point-to-curve fitting)
Thanks in advance,
Will
I have been able to create a program calculating vertical distance between the two curves, but because my curves double back on themselves I don't think this will really work.
Does anyone know how this might be done (in MATLAB or another language)? Or even just what this type of problem is called (I tried "Curve fitting", but this seems to only refer to point-to-curve fitting)
Thanks in advance,
Will