Effacer les filtres
Effacer les filtres

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

7 vues (au cours des 30 derniers jours)
Salma fathi
Salma fathi le 10 Jan 2023
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 commentaire
Bjorn Gustavsson
Bjorn Gustavsson le 23 Jan 2023
Was my answer good enough to solve your problem? If not what have you stumped?

Connectez-vous pour commenter.

Réponses (2)

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

Catégories

En savoir plus sur Fit Postprocessing dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by