Fitting a specific linear function to data
이전 댓글 표시
I have some data to which I want to fit the following function:
c1 * X + c2 * Y
I know the values for X and Y, can you give me a hint as to how I should proceed?
댓글 수: 2
John D'Errico
2021년 6월 12일
Do you have the curve fitting toolbox? Do you have the stats toolbox? I ask that, because while the fit itself is trivial, your immediate next question will be how to you determine the uncertainties for those parameters, and those toolboxes will do it for you.
Samuele Bolotta
2021년 6월 12일
답변 (1개)
Tarunbir Gambhir
2021년 6월 15일
0 개 추천
You can launch the Curve Fitting Tool with 'cftool( x, y, z )' for your case. This will create a surface fit to x and y inputs and z output.
카테고리
도움말 센터 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!