Optimizing a Matrix dependent function
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Torsten
am 3 Nov. 2017
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.
Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!