Effacer les filtres
Effacer les filtres

how to use fit in logY ?

5 vues (au cours des 30 derniers jours)
davit petraasya
davit petraasya le 15 Avr 2016
Commenté : davit petraasya le 27 Avr 2016
Hi Does anybody knows how to use fit in log(Y). I mean I have x and y data, I am plotting it and fitting points by straight line using matlab toolbox. When I take log in Y axis my straight fit line becomes curve line. I want straight line fit not curve fit.
How I can get straight fit line in log y plot?
Any advice appreciated.

Réponse acceptée

Ced
Ced le 15 Avr 2016
A line which is straight in a linear plot will always be curved in a log plot...? If you want it to be straight in a log10 plot, your original fit has to be exponential 10^x.
What you can do is e.g. get a linear fit g(x) to log10(y), and then f(x) = 10.^g(x) will be your actual regression function (which is obviously exponential).
  1 commentaire
davit petraasya
davit petraasya le 27 Avr 2016
Thanks Ced, for your help.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by