I have an assignment to visualize the output of a Moving Average Filter on a given square wave. My code currently looks as follows:
Fs=32000; Square_wave=[one