shift model on experimental data with least squares method

2 views (last 30 days)
Hi,
I have a set of experimental data (x,y) and another set of data from a model (xm,ym) which takes as input some experimental values. The output for the model is basically: data=model(input_unrelated_to_x); where plot(data.xm,data.ym) creates the curve of the model. Also, diff(x) and diff(xm) are almost identical.
I need to shift the model curve on the experimental curve on both x-axis and y-axis so that they overlap. Can it be done with the least squares method and how? Is there a better method ?
Thanks, Stefan
  2 Comments
Raj Raj
Raj Raj on 30 Sep 2014
Hi Stefan,
Were you able to solve this issue. I am currently stuck up with the same task.
Regards Raj
Stefan
Stefan on 22 Oct 2014
Hi Raj,
Unfortunately not, have you succeeded in solving this issue ? If not, I will try to ask again in a clearer way, I still need it.

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 22 Oct 2014
It may be necessary for you to include the x- and y-shifts (offsets) in your model equation as separate parameters to be estimated. That would be my approach. I cannot be more specific without seeing your model.

Categories

Find more on Optimization Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!