I have this signal as the following figure:
Now, I need to know each beginning index of each pulse as described in the following figure:
I have tried to detect the peaks through obtaining the cross correlation function with the sequence that I am sending and the Signal that I am receiving (which is exactly as if am doing auto-correlation). But they are not aligned as the following figure:
Can you suggest a solution to this problem, please? I am kinda stuck and this is my last step in my project.
I can show the codes if needed.