PLECS 3.1 Online Help

Discrete RMS Value

Purpose

Calculate the root mean square (RMS) value of the input signal.

Library

PLECS Extras / Discrete Analysis

Description

[Picture]

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 f   of the running window is

                  1
f = ----------------------------.
    sample time × number of samples

The Discrete RMS Value block is implemented with the Discrete Mean Value block.


Note  This block is only available for Matlab 7.0 or newer.

Parameters

Initial condition
The initial condition describes the input signal before simulation start. This parameter may either be a scalar or a vector matching the number of samples. The default is 0.
Sample time
The time interval between samples.
Number of samples
The number of samples used to calculate the RMS value.