Code covered by the BSD License
by Brenden Epps
08 Jun 2012
rmsz(x) returns the root mean square of vector x, excluding the x = 0 terms
| Watch this File
The code:
xx = x(find(x ~= 0));
can be achieved using logical indexing
xx = x(x ~= 0);
Contact us