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

조회 수: 2(최근 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.
  댓글 수: 1
Bjorn Gustavsson
Bjorn Gustavsson 2023년 1월 23일
Was my answer good enough to solve your problem? If not what have you stumped?

댓글을 달려면 로그인하십시오.


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)

Community Treasure Hunt

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

Start Hunting!

Translated by