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

 Accepted Answer

0 votes

线性回归,最简单。
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

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!