Hi,
I have a mxn matrix and I need to find the maximum number of consecutive negative values for each column.
So the output would be a 1xn vector, where the i-th element is the maximum number of consecutive negative values for column "i".
How would I do this without a loop?
Best Answer