text: a question about matrix operations in matlab.? for example i have a matrix like c(l) = [ 34 30 29 32 40 ]  (l=1:5). i want to find out l value that makes c(l) minimum (in this example it is 3). can you tell me which command to use to calculate this operation in matlab? just make ur matrix  c=[ 34 30 29 32 40 ]  l=min(c)  [k]=find(c==l)  k =      3    best luck with matrix and best program is matlab :))