Compute RMS of Noisy Step Signal
Compute the RMS of a noisy square wave signal using the RMS block.
Generate a square pulse signal of 512 samples in width using the Pulse Generator block. Vary the amplitude of the signal between 1.5 and 0.5 using the Switch block. Add zero-mean white Gaussian noise with a variance of 0.001 to the square pulse. The frame length of the noise signal is 512 samples. Compute the RMS of this signal across each frame using the RMS block. View the output in the Time Scope.