www.gusucode.com > signal 案例源码程序 matlab代码 > signal/RSSLevelOfSinusoidExample.m

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

% Copyright 2015 The MathWorks, Inc.


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

y = rssq(x)