Minimization of a function
1 回表示 (過去 30 日間)
古いコメントを表示
I have only two matrices A=[1,2 4; 2, 3, 4; 1, 2,3] and B=[1,2 4; 1, 2,3] in my hands. I want to solve the following problem.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/199782/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/199783/image.png)
such that
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/199784/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/199785/image.png)
Please help me in providing the complete program.
Once it is computed, then I can use ''for loop'' for computing min for all rows of A and then max.
Thanks for sparing time.
4 件のコメント
Image Analyst
2018 年 12 月 26 日
What is allowed to change? Lambda1 and lambda2? Is there some clever method you have heard of? Of course we could do it numerically with a simple brute force iteration over all possible values of lambda1 and lambda2. Would that be good enough?
Walter Roberson
2018 年 12 月 26 日
We are not likely to give you complete code. If you show your code and your error message then we will help you debug.
採用された回答
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!