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!