6 votes
Accepted

Minimize distance between curves

Let's assume you have a set of abscissas $x_i$ and two sets of function values on these grid points $f_i, g_i$ representing the functions $f$ and $g$. As mentioned in the comments, you'll need a model ...
  • 2,802
1 vote

Minimize distance between curves

Here is a simple solution. Find the curve $(x_m, y_m)$ with the largest domain $x$. In your case it is (x2, y2). Assign it to be the main curve and shift all other ...
1 vote

Minimize distance between curves

Taking a function as reference $f_r$ the scale-translation transformations for each remaining functions can be handled by minimizing $$ E(a,b,r) = \sum_{k\ne r}^{m}\sum_{j=1}^n \left(f_k(j)a_k+b_k - ...
  • 166

Only top scored, non community-wiki answers of a minimum length are eligible