www.gusucode.com > signal 案例源码程序 matlab代码 > signal/RMSLevelOfSinusoidExample.m
%% RMS Level of Sinusoid % Compute the RMS 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 = rms(x)