Easy way to change the scale of one curve to fit another curve

2 ビュー (過去 30 日間)
NIvvei
NIvvei 2019 年 6 月 14 日
コメント済み: Walter Roberson 2019 年 6 月 21 日
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 件のコメント
Walter Roberson
Walter Roberson 2019 年 6 月 14 日
This sounds similar to dynamic time warping, dtw()
NIvvei
NIvvei 2019 年 6 月 14 日
Thanks for pointing that out!
It is very close, but not exactly what I need. I will need to stretch the whole simulated curve by the same factor, while dtw() stretches partial curves.

サインインしてコメントする。

回答 (2 件)

Eamonn
Eamonn 2019 年 6 月 21 日
titled: "Have we ever seen a pattern that looks just like this, but possibly at a different length?"
  1 件のコメント
Walter Roberson
Walter Roberson 2019 年 6 月 21 日
That file is on your computer and we do not have copies of it.

サインインしてコメントする。


Eamonn
Eamonn 2019 年 6 月 21 日

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by