Code covered by the BSD License  

Highlights from
Rank-Order Filter

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 1.73 KB File ID: #22111

Rank-Order Filter

by Arash Salarian

 

14 Nov 2008

Rank-Order filtering for 1D signals

| Watch this File

File Information
Description

y = RankOrderFilter(x, window, thd) runs a rank-order filtering of order N on x. y is the same size as x. If x is a matrix, RankOrderFilter operates along the columns of x.

Rank-order filter calculates the p'th percentile of the data on an N sized window round each point of x. p can be a number between 0 and 100. To avoid edge effects, the x is expanded by repeating the first and the last samples N/2 times.

When p is equal to 50, the output of this function will be the same as MATLAB's MEDFILT1(x,N); however, RankOrderFilter is almost always much faster and needs less memory.

When p is close to 0 (or to 100), a RankOrderFilter calculates an approximate lower (or upper) envlope of the signal.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
probability Cristina McIntire 17 Nov 2008 11:05:31
filter Arash Salarian 17 Nov 2008 11:05:44
statistics Arash Salarian 17 Nov 2008 11:05:44
signal processing Arash Salarian 17 Nov 2008 11:05:44
rankorder filter Arash Salarian 17 Nov 2008 11:05:44

Contact us at files@mathworks.com