inspection of linearity of data?
조회 수: 2(최근 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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!