Discrete RMS Value
Purpose
Calculate root mean square (RMS) value of input signal
Library
Control / Discrete
Description
This block calculates the RMS value of a periodic input signal based on discrete
samples. The sample time and the number of samples can be specified. The
fundamental frequency of the running window is
The Discrete RMS Value block is implemented with the Discrete Mean Value block.
Note In Simulink this block is only available for MATLAB 7.0 or newer.
Parameters
- Initial condition
- The initial condition describes the input signal before simulation start. If the input is a scalar signal the parameter can either be a scalar or a column vector. The number of elements in the vector must match the value of the parameter Number of samples - 1. If input and output are vectorized signals a matrix can be used. The number of rows must be 1 or match the number of input signals. The default value of this parameter is 0.
- Sample time
- The time interval between samples. See also the Discrete-Periodic sample time type in section Sample Times.
- Number of samples
- The number of samples used to calculate the RMS value.