Minimization of a Integral function
4 次查看(过去 30 天)
显示 更早的评论
I want to minimize (integration(f(w,x1,x2,..,xn)),w,0,1) and find the corresponding values of x1,x2... xn How can I implement this in MATLAB?? Help needed!!
0 个评论
回答(2 个)
Torsten
2015-1-23
Use MATLAB's "fminunc" with the objective function being your integral expression or "fmincon" with the objective function being your integral expression and possibly constraints on the parameters x1,x2,...,xn.
To evaluate the integral, use "integral".
Best wishes
Torsten.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Least Squares 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!