Main Content

DRMS

Compute discrete-time, cumulative root mean square (DRMS) of signal

  • DRMS block

Libraries:
Simulink Design Optimization / RMS Blocks

Description

Attach the DRMS block to a signal to compute its discrete-time, cumulative root mean square (DRMS) value, which provides a measure of the average energy in a signal.

The discrete-time, cumulative root mean square value of a signal u(t) is defined as

DRMS=1Ni=1Nu(ti)2

To optimize the signal energy, use this block in conjunction with the Check Custom Bounds block.

Ports

Input

expand all

Input value, specified as a scalar signal.

Output

expand all

Computed discrete-time, root mean square value, output as a scalar signal.

Parameters

expand all

Sample time for computing DRMS value.

Programmatic Use

Parameter: Ts
Value: positive scalar in quotes
Default: '1'

Version History

Introduced in R2009a

See Also

Blocks