inspection of linearity of data?
조회 수: 9 (최근 30일)
이전 댓글 표시
Hello ! I want to check the linearity between two data set named as L_comp and L? please find attached. How can I check the trend of the following dataset? Many thanks !
댓글 수: 0
채택된 답변
Chunru
2022년 10월 25일
load(websave("check_linearity.mat","https://www.mathworks.com/matlabcentral/answers/uploaded_files/1167363/check_linearity.mat"))
whos
% use curve fitting toolbox
f = fit(L, L_comp, 'poly1')
plot(f, L, L_comp)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!