闲得蛋疼,算了下
最小二乘法,4次多项式拟合:
x为速度,y为需要的功率(红线)
p1 = 1.352e-005
p2 = 0.002062
p3 = 0.04535
p4 = 3.128
p5 = -64.28
y = p1*x^4 + p2*x^3 + p3*x^2 + p4*x + p5
与表格数据比较,误差如图:
20-200km/h拟合数据
20,35.079
25,79.764
30,137
35,209.45
40,299.98
45,411.65
50,547.75
55,711.73
60,907.27
65,1138.3
70,1408.8
75,1723.1
80,2085.7
85,2501.3
90,2974.8
95,3511.3
100,4116
105,4794.5
110,5552.5
115,6395.9
120,7330.8
125,8363.4
130,9500.4
135,10748
140,12114
145,13606
150,15229
155,16992
160,18904
165,20970
170,23201
175,25603
180,28186
185,30959
190,33930
195,37108
200,40503