rms()

Returns the root mean square value

Syntax
y = rms(Value)

Arguments
Name Description Range Type Required
Value Value to find RMS (-∞, ∞) integer, real, complex yes

Examples

rmsR = rms(2)
returns 1.414
rmsR = rms(complex(3, 10))
returns 7.382/73.301
rmsR = rms( [1, 2, 3, 4, 5,] )
returns [0.707, 1.414, 2.121, 2.828, 3.536]

Defined in

$HPEESOF_DIR/expressions/ael/elementary_fun.ael

Notes/Equations

The rms() function calculates the root mean square value. If the data's inner independent is freq, and if frequency equals 0 (DC), then the function returns mag() rather than rms value.

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources