How can I make a sliding window that's can slide over the signal (pic)

I want to make a window with two equal halves that's at the middle it's located (each time) at sample number n for example, then the right half of this window is subtracted from the left half each step/sample number. like the picture shows:

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!