Effacer les filtres
Effacer les filtres

linear least regression solving a and b from given data

2 vues (au cours des 30 derniers jours)
Phuri Nittiwat
Phuri Nittiwat le 6 Avr 2022
Commenté : Phuri Nittiwat le 12 Avr 2022
From the following question in Part 2 I try to find a and b to fit the data above as f(x) = a/((x^2)+b)
from my code as I create linear regression function
and call back function
also polting graph
I wonder why my linear regression point is not on the given function that it soppose to.

Réponse acceptée

Torsten
Torsten le 6 Avr 2022
b = a0/a1
instead of
b = a0

Plus de réponses (0)

Catégories

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

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by