Optimizing a Matrix dependent function
1 次查看(过去 30 天)
显示 更早的评论
I am having an issue where a function to optimize contains a matrix. Is there a way to efficiently optimize a matrix in Matlab or do I literally have to optimize every matrix element by itself, which would make this a 200x200 parameter optimization and virtually impossible?
3 个评论
Torsten
2017-11-3
If the j-th element of "spacevektor" is not zero, choose the j-th column of "Amatrix" to be RESULT/(j-th element of spacevektor) and all other elements of "Amatrix" to be zero.
If this is not what you need, the information you supplied is still insufficient.
Best wishes
Torsten.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!