[TOC]

rms

Root-mean-square value

Introduction

For a given vector , its root-mean-square (RMS) value is given by the following formula:

where is the absolute value if is real and modulus if complex.

Usages

r = rms(A)

r = rms(A, nanFlag)

r = rms(A, dim)

r = rms(A, dim, nanFlag)

r = rms(A, dimVec)

r = rms(A, dimVec, nanFlag)

r = rms(A, 'all')

r = rms(A, 'all', nanFlag)