I am new to matlab, I have a column vector with binary values
I want to get the indices where the value changes from 0 to 1, and the indices when there is a change from 1 to 0.
This is my first question to Stackoverflow so am hoping to get the needed help,
Thank you in advance.
Use
diffwithfind.