필터 지우기
필터 지우기

polyfit question

조회 수: 1 (최근 30일)
Andy
Andy 2012년 1월 27일
I used polyfit like this:
p=polyfit(avg_Y,x,1)
where both avg_Y, and x are 12 by 1 matrix. my purpose is try to find a best fit line (if there is any other way of doing it, please tell me).
Matlab gives me 0.0042 2.5802
what do i do with these numbers? What do they mean? i read help center but it wasnt too helpful. Thanks

채택된 답변

Honglei Chen
Honglei Chen 2012년 1월 27일
It means
avg_Y = 0.0042*x+2.5802
see
doc polyfit

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by