Clear Filters
Clear Filters

what is properly method to optimization of four parameter to be one value?

2 views (last 30 days)
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.

Accepted Answer

Torsten
Torsten on 14 Nov 2017
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.

More Answers (0)

Categories

Find more on Get Started with Optimization Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!