同一个自变量下多个因变量数据拟合最合理趋势线。

现有多组实验数据,想拟合出一个合理的趋势线。实验数据如下:
x=[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18];
y=[1.0000 1.1733 1.3600 1.5333 1.6800 1.8400 1.9867 2.1600 2.3067 2.4533 2.6000 2.7600 2.8933 3.0267 3.1733 3.2800 3.4267 3.5333
1.0000 1.1571 1.3143 1.4714 1.6286 1.7857 1.9143 2.0714 2.2000 2.3286 2.4714 2.5714 2.7000 2.8429 2.9857 3.1000 3.2143 3.3429
1.0000 1.1528 1.3194 1.4583 1.6111 1.7500 1.8750 2.0000 2.1250 2.2361 2.3333 2.4444 2.5417 2.6528 2.7639 2.8472 2.9306 3.0139
1.0000 1.1375 1.3125 1.4500 1.6375 1.7750 1.9250 2.1000 2.2250 2.3500 2.4750 2.5875 2.7125 2.8250 2.9375 3.0750 3.1875 3.2875
1.0000 1.0976 1.2561 1.4024 1.5732 1.7073 1.8415 1.9634 2.0976 2.2195 2.3537 2.4634 2.5854 2.7195 2.8293 2.9756 3.0854 3.2195
1.0000 1.1000 1.2444 1.3778 1.5111 1.6556 1.7778 1.9111 2.0222 2.1444 2.2444 2.3667 2.4556 2.5667 2.6889 2.7889 2.9333 3.0111]
求指导。

 Réponse acceptée

0 votes

可以考虑:
1. 将每次的y平均,然后回归
2. 就x重复6次,变成6×18长度,y变成线性的,然后回归。
3. 单独回归,系数平均
不知道哪个更合理

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!