<< morlet FOSSEE Signal Processing Toolbox mscohere >>

FOSSEE Signal Processing Toolbox >> FOSSEE Signal Processing Toolbox > movingrms

movingrms

Calling Sequence

[rmsx,w]=movingrms(x,w,rc,Fs=1)

Parameters

x:

Real or complex valued vector or matrix

w:

Real or complex scalar value

rc:

Real or complex scalar value

Fs:

Real or complex scalar value

Description

This is an Octave function. The signal is convoluted against a sigmoid window of width w and risetime rc with the units of these parameters relative to the value of the sampling frequency given in Fs (Default value=1).

Examples

1.    [a,b]=movingrms ([4.4 94 1;-2 5i 5],1,-2)
a =    0.91237   17.71929    0.96254
0.91237   17.71929    0.96254
b =   0.18877
0.18877
2.    [a,b]=movingrms ([4.4 94 1;-2 5i 5],1,-2,2)
a =   4.8332   93.8669    5.0990
4.8332   93.8669    5.0990
b =   1
1

Report an issue
<< morlet FOSSEE Signal Processing Toolbox mscohere >>