I rercorded a sequence of zeros and ones which is repeated many times. However, the first and the last repetitions may not be complete because I have to start recording at a random time, so the sequence can be started when I hit record and the sequence may have not finished when I stop recording.
I'd like to know how to extract, for instance, the 3rd period of the complete recording, because this is something I know it would have the complete sequence.
here is a example of the signal I'm working with. I computed the FFT and I think the frequency is 96000Hz (half of the sampling rate), but still I'm not sure how to extract a complete period from it.
How could I do this?