i have matrix [6,6], how to find minimum value at certain row eg what is the minimum value that >0, at row 1?
r=[0.00 18.68 39.62 20.81 5.39 39.9218.68 0.00 33.84 38.91 24.04 53.4139.62 33.84 0.00 48.38 42.20 45.1220.81 38.91 48.38 0.00 15.62 25.08 5.39 24.04 42.20 15.62 0.00 36.4039.92 53.41 45.12 25.08 36.40 0.00];
Then the result is 5.39 in [1 5], it will loop to continued to find the min value at other row, the next row searching on the min value is based on the previous result of the column. eg 2nd result is 15.62 [5 4]
Best Answer