MATLAB: How to find the starting position of the array from where its value is strictly increasing

arraysindexingmatrix arrayvector

I have a huge temperature data with 2000 values.
It takes a couple of minutes for thermocouple to stabilize and then it increases steadily. I want to find out the position from which it is strictly increasing.
Thanks

Best Answer

y=[1 2 5 0 4 2 7 8 9]
%one line command
max([1 max((find(diff(y)<=0))+1)])