Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

# sortwvfrms 1.0

Date Added: May 08, 2013  |  Visits: 233

Sorts input matrix of data so that each column is re-ordered byuser-specified criteria. Options are (1) sort data by signal width (2)sort data by energy localization (3) sort data by dissimilarity ofdata to a normal probability distribution. The default option is toreturn all 3 options, as vectors of indices so that W(:,Iw), for example,gives the data ordered by signal width.[varargout]=sortwvfrms(W,varargin)INPUT W: A matrix whose columns are time series to be sorted.sortopt: (Optional) A string. Can be either 'width', 'erg' or 'pdf'. Default is all three.plotopt: (Optional) A string. 'plot' produces a plot. Anything else doesn't.Inputting 'all' returns a plot of all 3 sorting results.OUTPUTI: a vector of indices that sorts the time series, so that W(:,I) has it's columns ordered by the specified criteria.Examples:[Iw]=sortwvfrms(W,'width');Wsort=W(:,Iw); %now contains the sorted signals.[Iw,Ie,Ip]=sortwvfrms(W,'all');%Returns indices that sort the input data by signal width, energylocalization, and 'least noisy'.[Ip]=sortwvfrms(W,'pdf','plot');%Now W(:,Ip) is ordered from least noisy to most noisy signal. A plot isproduced too.NOTE: Code requires plotXmatrix as well. Download from file exchange, orhttp://www.ess.washington.edu/~joshuadc

 Requirements: No special requirements Platforms: Matlab Keyword: 039all039,  Criteriaexamplesiw Dsortwvfrmsw Width Wsort Dwiw,  Default,  Doesn Tinputting,  Erg,  Isproduced,  It039s,  Pdf,  Plot,  Produces,  Requires,  Resultsoutputi,  Returns,  Sorting,  Sorts,  Threeplotopt,  Toonote,  Vector Users rating: 0/10