How to adjust a curve fit such that it goes through a specific point

5 次查看(过去 30 天)
I have the following plot
we would like to adjust the green curve such that its peak point, the one pointed to by a black arrow, becomes the point shown as a blue star. Rather than only shiffting the curve such that it would pass through that point, we would like to actually adjust it (i.e make it wider or narrower or taller or shorter) whatever the case.
any idea how this might be achieved using matlab?
Thanks a lot in dvance.
I attach the data and the curve fiiting script used.

回答(2 个)

Bjorn Gustavsson
Bjorn Gustavsson 2023-1-10
If this is a plot of an electron-density profile observed with an IS-radar, then your ionosonde fOF2 point is (expected to be) a good estimate of the peak ionospheric electron density, and what you do is to calibrate the "total radar system gain" to get the conversion-factor between received power and electon-density. In this case simply multiply the electron-density-values with the ratio between ionosonde-ne and ISR-ne.

Bruno Luong
Bruno Luong 2023-1-10
Add blue point as additional data point and associate it a strong weight to the rest (see Weights of options)

类别

Help CenterFile Exchange 中查找有关 Fit Postprocessing 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by