Optimization for math equation
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
y=a[e^bx-e^(-cx)]
where
x=-0.5 to 0.5, a=10^(-4) to 10^(-5), b= 15 and c=20.
i) Find Y?
ii) By using the Values of x and y find the values of a,b and c?
3 个评论
Walter Roberson
2018-3-22
For the "optimization", is y to be minimized or maximized?
For either minimization or maximization, you can be certain that the optimal value for a will be either the minimum or the maximum possible value, since a is a constant multiplier .
Manikandan M
2018-3-22
Torsten
2018-3-22
Use "lsqcurvefit".
Best wishes
Torsten.
回答(1 个)
Alan Weiss
2018-3-22
0 个投票
For a more complete answer than Torsten gave, see this example, and if you have an Optimization Toolbox™ license, see this example.
Alan Weiss
MATLAB mathematical toolbox documentation
0 个评论
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!