关于matlab的二元一次曲线拟合,y=ax1+bx2+c。急求!
x1=[7.537.758.038.088.098.248.268.328.418.758.88.848.858.928.978.989.049.079.389.559....
x1=[7.53 7.75 8.03 8.08 8.09 8.24 8.26 8.32 8.41 8.75 8.8 8.84 8.85 8.92 8.97 8.98 9.04 9.07 9.38 9.55 9.76 9.84 9.96 10.08]
x2=[219 246.3 237.5 239.6 266.9 250.8 227 236.5 262.6 244.8 263.9 247.6 232.7 254 260 267.5 238.4 249.7 252.1 232.4 230.5 245.5 251.5 245.9]
y=[202 207 170 273 251 357 250 214 266 244 348 189 374 221 246 299 171 407 279 257 370 351 413 281]
另外,我用x=[ones(24,1),x1,x2]显示All matrices on a row in the bracketed expression must have the same number of rows. 展开
x2=[219 246.3 237.5 239.6 266.9 250.8 227 236.5 262.6 244.8 263.9 247.6 232.7 254 260 267.5 238.4 249.7 252.1 232.4 230.5 245.5 251.5 245.9]
y=[202 207 170 273 251 357 250 214 266 244 348 189 374 221 246 299 171 407 279 257 370 351 413 281]
另外,我用x=[ones(24,1),x1,x2]显示All matrices on a row in the bracketed expression must have the same number of rows. 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询