I have a problem and I hope somebody can help.
I want to find the value of min, max, start and end of different columns (rows 1:50) of my matrix in a loop.
the formula below gave me the min and max as I wanted:
f = 1:nfiles
output1 (:,f)= min (mydata (1:50 (:,f),f));
otput2 (:,f)= max (mydata (1:50 (:,f),f));
Now how can I find the first and last element? So in my case the 1 and 50?
I hope I am clear enough.
Thanks in advance,