フィルターのクリア

linear least regression solving a and b from given data

2 ビュー (過去 30 日間)
Phuri Nittiwat
Phuri Nittiwat 2022 年 4 月 6 日
コメント済み: Phuri Nittiwat 2022 年 4 月 12 日
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.

採用された回答

Torsten
Torsten 2022 年 4 月 6 日
b = a0/a1
instead of
b = a0

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by