MATLAB: How do you get the row or column of something you need

arraycolumngetmatrixrow

For example, if you had:
abc
def
ghi
Say I wanted the row and column of 'e', how would I do this? I have been looking everywhere for this and I just can't seem to find it. Please help. Thank you!

Best Answer

[rows, columns] = find(yourMatrix == e); % e is an integer.