필터 지우기
필터 지우기

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 CenterFile Exchange에서 Linear 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