inspection of linearity of data?
7 ビュー (過去 30 日間)
古いコメントを表示
Khan Muhammad Adeel Khan
2022 年 10 月 24 日
コメント済み: Khan Muhammad Adeel Khan
2022 年 10 月 26 日
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!