Fitting Multiple Data sets
显示 更早的评论
Hello,
I have one independent variable 'x' and 15 dependent variables 'y1', 'y2', ... ... , 'y15'.
I have to fit a function F consisting of six coefficient a, b, c, d, e, & f to the 'x' vs 'y' data, such that
- coefficients a,b & c have the same values for all fits 'x' vs 'y1', 'x' vs 'y2', ... ... ... ... , 'x' vs 'y15'
- coefficients d,e & f have different values for each fit 'x' vs 'y1', 'x' vs 'y2', ... ... ... ... , 'x' vs 'y15'
i.e.
- Coeffients for fit 'x' vs 'y1' are a, b, c, d1, e1, & f1
- Coeffients for fit 'x' vs 'y2' are a, b, c, d2, e2, & f2
- Coeffients for fit 'x' vs 'y3' are a, b, c, d3, e3, & f3
- ... ... ...
- Coeffients for fit 'x' vs 'y15' are a, b, c, d15, e15, & f15
How do I go about doing this?
Thanks.
回答(1 个)
Vladimir Sovkov
2019-11-19
0 个投票
类别
在 帮助中心 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!