No BSD License  

Highlights from
slidefilter

1.5

1.5 | 2 ratings Rate this file 3 Downloads (last 30 days) File Size: 2.42 KB File ID: #10117

slidefilter

by Hazem Baqaen

 

22 Feb 2006 (Updated 24 Feb 2006)

Sliding Sum Averaging Filter (Moving Average)

| Watch this File

File Information
Description

Moving average filter implemented using a "Sliding Sum" technique. Comparatively efficient.

Usage:

Smoothed Data = slidefilter(Data Vector, Sliding Interval Length in Samples)

See also: movave.m

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
23 Feb 2006 Duane Hanselman

This function is poorly described. Perhaps an simple example would demonstrate its potential usefulness. As it is, the algorithm can only be understood by looking at the code itself. How is this "more efficient" than a moving average filter? What is meant by "efficient"? Edges are treated differently than what? Why must data be limited to 1-D? Why clear two scalar values within the function? Doing so does not save time or memory. What is meant by "the output will be normalized"?

23 Feb 2006 Jos van der Geest

Unfortunately, slidefilter (as <movave> by the same author) introduces some small floating point errors.
The help is quite poor (see Duane's comments).

23 Feb 2006 Hazem Baqaen

Update will be posted

Please login to add a comment or rating.
Updates
24 Feb 2006

minor correction

24 Feb 2006

Help text addition

24 Feb 2006

Help text addition

Tag Activity for this File
Tag Applied By Date/Time
dsp Hazem Baqaen 22 Oct 2008 08:16:38
moving average Hazem Baqaen 22 Oct 2008 08:16:38
smoothing Hazem Baqaen 22 Oct 2008 08:16:38
sliding sum Hazem Baqaen 22 Oct 2008 08:16:38
averaging Hazem Baqaen 22 Oct 2008 08:16:38
sliding sum Jyothsna gandham 23 Jul 2010 14:31:58

Contact us at files@mathworks.com