Filter löschen
Filter löschen

linear least regression solving a and b from given data

2 Ansichten (letzte 30 Tage)
Phuri Nittiwat
Phuri Nittiwat am 6 Apr. 2022
Kommentiert: Phuri Nittiwat am 12 Apr. 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.

Akzeptierte Antwort

Torsten
Torsten am 6 Apr. 2022
b = a0/a1
instead of
b = a0

Weitere Antworten (0)

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by