matlab fags come

No.13057107 ViewReplyOriginalReport
how do I find the trigger onset values of a 1 row multiple column vector ? I guess with the find and diff function but how exactly ?