MATLAB: How to find number in a matrix and output its row number

matrix array

I have a coloumn vector
M = [83 82 86 84 85 90]
How can I find at which row the matrix has a value of 85 (should output row = 5 since 85 is on the 5th row)

Best Answer

M = [83 82 86 84 85 90].'
M = 6×1
83 82 86 84 85 90
[row, column] = find(M == 85)
row = 5
column = 1