How to find a minimum in this matrix ?
Show older comments
Hi all,
I need your help doday because I can not get rid of my problem :
I have a 6D matrix, 'C', filled with costs values. The six dimensions are : speed, acceleration, and 4 'control variables' : U1,U2,U3,U4.
I want to find the position (the value of the control variables) of the minimum cost for each pair of speed and acceleration. The result could be a matrix, attached. If several equal minimums are found, we could keep only one.
The main point is that I run Matlab 2016b, which does not support "vector directions" minimum. The second point is that my 6D 'C' cost matrix is HUUUUUGE and is about 1/100 of my total RAM capacity !
Thank you a lot for your help,
Simon :)

Accepted Answer
More Answers (0)
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!