%% RSS Level of Sinusoid
% Compute the RSS level of a 100 Hz sinusoid sampled at 1 kHz.

t = 0:0.001:1-0.001;
x = cos(2*pi*100*t);

y = rssq(x)

% Copyright 2015 The MathWorks, Inc.