Shape_Projection_Fi​lter

Performs match based filtering to remove a varying magnitude shape from a vector
56 Downloads
Updated 3 Jun 2020

View License

Performs match based filtering to remove a varying magnitude shape (sawtooth) with a step period of shape_period from the time history z.
The methodology is two part. First a dot product correlation is calculated between a single shape (saw tooth) and high pass filtered z, (butter worth, high passed at fc_hi, filtered_order, filtfilt for doubling filtered_order)...
Shapes-to-be-removed are determined to be where the magnitude of this dot product exceeds the corr_thresh value.
In the second part, at each location that exceeds corr_thresh, the projection value between the sawtooth and the filtered z is multiplied by the sawtooth vector and subtracted from the filtered z to form a corrected z history. A final step interplation can optionally be performed accross the points of the saw tooth step fall.

The corrected z is then added to the residue of the original high pass filtering.

Cite As

Brian Liswell (2024). Shape_Projection_Filter (https://www.mathworks.com/matlabcentral/fileexchange/61291-shape_projection_filter), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on PHY Components in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.1

Just changed the description to not be just about saw tooths.

1.0.0.0