知道首尾的数值,如何预测中间值?谢谢了
例如:如何预测a,b,c
0.400.450.500.550.600.650.700.750.80
28.31326.30723.80721.21118.569ABC8.111

 채택된 답변

0 개 추천

线性回归,最简单。
x=[0.4:0.05:0.6 0.8];
y=[28.313 26.307 23.807 21.211 18.569 8.111];
p=polyfit(x,y,1);
polyval(p,[0.65:0.05:0.75])
ans =15.9412 13.3853 10.8294
相关系数有0.999x

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!