Home > NaN > meansq.m

meansq

PURPOSE ^

MEANSQ calculates the mean of the squares

SYNOPSIS ^

function o=meansq(x,DIM,W)

DESCRIPTION ^

 MEANSQ calculates the mean of the squares

 y = meansq(x,DIM,W)

 DIM    dimension
    1 STD of columns
    2 STD of rows
     N STD of  N-th dimension 
    default or []: first DIMENSION, with more than 1 element
 W    weights to compute weighted mean (default: [])
    if W=[], all weights are 1. 
    number of elements in W must match size(x,DIM) 

 features:
 - can deal with NaN's (missing values)
 - weighting of data  
 - dimension argument also in Octave
 - compatible to Matlab and Octave

 see also: SUMSQ, SUMSKIPNAN, MEAN, VAR, STD, RMS

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:02:45 by m2html © 2003