Difference in Matlab and Excel
조회 수: 7 (최근 30일)
이전 댓글 표시
Hi Experts,
I am trying to do linear regression but there is a difference in matlab and excel.
Can i what could be the reason and how to match data?
댓글 수: 2
Image Analyst
2020년 7월 13일
How much of a difference? You forgot to attach your data, forgot to attach your m-file, forgot to attach your Excel script, and forgot to read this link.
답변 (1개)
KSSV
2020년 7월 13일
Excel fits a striaght line to the data.....to get the same value use polyfit of MATLAB.
p = polyfit(X,Y,1) ;
p(1)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!