Answered
how to find column index of max value for each row of a matrix 378x5 size?
[~,I] = max(A,[],2)

5 years ago | 1

| accepted

Question


Find the last non-nan in large array
I have very large 4-dimensional arrays with dimensions being time,depth, lat, lon. I want to find the linear index in the depth ...

5 years ago | 1 answer | 0

1

answer

Question


how to place a legend in best corner?
Is there a way to place legend in the best corner of subplot. I do not like it when the legend is in middle of whitespace.

5 years ago | 2 answers | 0

2

answers