rms(x) returns the root mean square of vector x
Brenden Epps (2021). rms(x) returns the root mean square of vector x (https://www.mathworks.com/matlabcentral/fileexchange/37068-rms-x-returns-the-root-mean-square-of-vector-x), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
You could use y = norm(x)/sqrt(length(x))
which is much faster