How to compare two data sets, and make a general statement about how close they are from each other if we treat them as curves?

5 views (last 30 days)
I want to compare two sets of data .. let's say I have n points of (x1,y1) data set ... and I want to compare it with m points of (x2, y2) data set ... Note that n and m are not equal ... I want to describe how close the two sets from each other.
I have experience with using techniques like (the mean absolute percentage error) or the (the coefficient of determination). However, these techniques are meant to compare two sets of data that are supposed to be identical. In this problem its not to meant to have points in same positions, but it is about to show the same general device behaviour.
Now I am thinking of fitting a curve to one set to produce a model then compare the other with it. However, the will mix the fitting error with the actual comarision results.
any suggestion please?
Capture.JPG
  4 Comments

Sign in to comment.

Accepted Answer

Ali Kareem Abdulrazzaq
Ali Kareem Abdulrazzaq on 15 Mar 2019
Thanks KSSV your replay provides me good solution
Best regards

More Answers (0)

Categories

Find more on Get Started with Curve Fitting 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!