what is properly method to optimization of four parameter to be one value?
1 次查看(过去 30 天)
显示 更早的评论
Hello all. I have 4 parameters for 4 equations that I just want to optimize those parameter to one value to be used for these 4 equation. Is there method for this task? ex. Y1=aX1; Y2=bX2; Y3=cX3; Y4=dX4 and want to optimize these a,b,c,d to be A for this equation.
0 个评论
采纳的回答
Torsten
2017-11-14
So you have four data points (X1,Y1), (X2,Y2), (X3,Y3), (X4,Y4) and you want to find the "best" A such that
[Y1 Y2 Y3 Y4] = A*[X1 X2 X3 X4]
?
If this is the case,
A = (X1*Y1+X2*Y2+X3*Y3+X4*Y4)/(X1^2+X2^2+X3^2+X4^2)
Best wishes
Torsten.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!