Home > NaN > medAbsDev.m

medAbsDev

PURPOSE ^

medAbsDev calculates the median absolute deviation

SYNOPSIS ^

function [D, M] = medAbsDev(X, DIM)

DESCRIPTION ^

 medAbsDev calculates the median absolute deviation 

 Usage:  D = medAbsDev(X, DIM)  
    or:  [D, M] = medAbsDev(X, DIM)
 Input:  X  : data
         DIM: dimension along which mad should be calculated (1=columns, 2=rows) 
               (optional, default=first dimension with more than 1 element
 Output: D  : median absolute deviations
         M  : medians (optional)

CROSS-REFERENCE INFORMATION ^

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