root/gliderproc/trunk/MATLAB/opnml/FCAST_1.2/matlab_cen/rms.m
Revision 495 (checked in by cbc, 12 years ago) |
---|
Line | |
---|---|
1 | % |
2 | % RMS computes the rms value of a vector (or columns of matrix) |
3 | % |
4 | % [output] = rms(input) |
5 | % |
6 | % Charles Hannah Jan 1997 |
7 | |
8 | function [output] = rms(input) |
9 | |
10 | output = sqrt(mean(input.*conj(input))); |
11 | % |
12 | % |
Note: See TracBrowser for help on using the browser.