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

5 views (last 30 days)
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.

Answers (2)

Bjorn Gustavsson
Bjorn Gustavsson on 10 Jan 2023
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 on 10 Jan 2023
Add blue point as additional data point and associate it a strong weight to the rest (see Weights of options)

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!