Easy way to change the scale of one curve to fit another curve
Show older comments
I have one curve serve as reference. And then I run simulation to generate another simulated curve. The simulated curve may of different scale compared to the reference, for instance, it maybe "taller", or "fatter", but the basic shape of the two curves are similar. I want to scale (by this I mean "squeeze" or "stretch") the simulated curve, such that the simulated curve fits best to the refernece curve.
Both curves are regular bell-like curves with regular peaks and valleys.
2 Comments
Walter Roberson
on 14 Jun 2019
This sounds similar to dynamic time warping, dtw()
NIvvei
on 14 Jun 2019
Answers (2)
Eamonn
on 21 Jun 2019
0 votes
How about slide 21 of .... file:///C:/Users/eamon/Desktop/100Questions/100_Time_Series_Data_Mining_Questions__with_Answers.pdf
titled: "Have we ever seen a pattern that looks just like this, but possibly at a different length?"
1 Comment
Walter Roberson
on 21 Jun 2019
That file is on your computer and we do not have copies of it.
Eamonn
on 21 Jun 2019
0 votes
Categories
Find more on 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!