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).(adsbygoogle = window.adsbygoogle || []).push({});

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

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Curve-to-curve fitting trouble!

Loading...

Similar Threads - Curve curve fitting | Date |
---|---|

Area under a curve | Nov 19, 2015 |

Python 2.7: Fit a model to data | May 23, 2015 |

Paint.Net Adjustment->Curves tool | May 11, 2014 |

Programming B-spline curve in Matlab from scratch | Jan 25, 2012 |

Langevin curve fitting | Jun 24, 2008 |

**Physics Forums - The Fusion of Science and Community**