from Vectorized FIND with 'FIRST' option by Bruno Luong
Find the first non-zero element(s) along row/column - or any other dimension

All files for Vectorized FIND with 'FIRST' option
/findfirst/find1dmex.c
/findfirst/findfirst.m
/findfirst/findfirst_install.m
/license.txt

Contact us at files@mathworks.com