# DRMS

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

## Description

Attach the DRMS block to a signal to compute its discrete-time, cumulative root mean square value. Use in conjunction with the Signal Constraint block to optimize the signal energy.

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

`$R.M.S=\sqrt{\frac{1}{N}\sum _{i=1}^{N}{‖u\left({t}_{i}\right)‖}^{2}}$`

The R.M.S value gives a measure of the average energy in the signal.