I believe there is a mistake in the rms.m help.
There is a sqrt missing in the equation, it should be sqrt( sum |f(n)|^2 ) I think
http://ltfat.sourceforge.net/doc/sigproc/rms_code.php
Peter Soendergaard
2013-12-12
I agree, there is a bug in the help section.
Zdenek Prusa
2014-06-16
This was fixed long time ago.
Zdenek Prusa
2014-06-16
Anonymous