How to ratio the y component of two curves using an exponential fit?

5 ビュー (過去 30 日間)
Marcella Roth
Marcella Roth 2021 年 9 月 21 日
回答済み: 埃博拉酱 2024 年 10 月 28 日 14:23
Hi,
I'm pretty new to Matlab and need help with the following:
I have two curves (Data1 and Data2, attached) that are slightly different in terms of their y-component. I want to correct for this difference by ratioing the two curves to each other using an exponential fit and outputting scaling factor for the two curves.
Any help is much appreciated!
  2 件のコメント
John D'Errico
John D'Errico 2021 年 9 月 21 日
What exponential fit? I can think of a wide variety of things you might want to try, but just saying an "exponential fit" tells me nothing.
Marcella Roth
Marcella Roth 2021 年 9 月 21 日
I apologize for not being more specific, but I'm not entirely sure of the type of fit. Looking at the two curves it seemed like a "non-linear" fit was best for the data.
While the magnitudes of the two curves are similar, they are not exactly the same; So what I'm looking to do is generate a simple scaling factor between the Data1 and Data2 cases in terms of y-component magnitude.

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

回答 (1 件)

埃博拉酱
埃博拉酱 2024 年 10 月 28 日 14:23
I don't think your data are slightly different in terms of their y-component. They look very different in both x and y components. It won't be enough to correct their difference with a single scaling factor.

カテゴリ

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