Be the first to rate this file! 1 Download (last 30 days) File Size: 1.13 KB File ID: #37069

rmsz(x) returns the root mean square of vector x, excluding the x = 0 terms

by Brenden Epps

 

08 Jun 2012

rmsz(x) returns the root mean square of vector x, excluding the x = 0 terms

| Watch this File

File Information
Description

rmsz(x) returns the root mean square of vector x, excluding the x = 0 terms

MATLAB release MATLAB 7.10 (R2010a)
Tags for This File  
Everyone's Tags
root mean square
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
14 Jun 2012 Richard Crozier

The code:

xx = x(find(x ~= 0));

can be achieved using logical indexing

xx = x(x ~= 0);

Contact us