No BSD License  

Highlights from
filtfilthd

4.57143

4.6 | 7 ratings Rate this file 15 Downloads (last 30 days) File Size: 6.8 KB File ID: #17061

filtfilthd

by Malcolm Lidierth

 

22 Oct 2007 (Updated 13 Feb 2008)

Zero-phase forwards/backwards filtering using SP toolbox dfilt filter objects

| Watch this File

File Information
Description

FILTFILTHD provides zero-phase forwards/backwards filtering. Unlike MATLAB's filtfilt, FILTFILTHD accepts dfilt filter objects on input.
This allows multiple stage filters from fdatool to be used.

A selection of end-effect minimization methods are supported.

Required Products Signal Processing Toolbox
MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
23 Oct 2007 Gunter Wahl  
18 Feb 2008 ueli r.

exactly what i needed

09 Mar 2009 Keith

Provides a solution to the limited resolution of the matlab transfer function filter forms when calling filtfilt. Filter objects can be created with zero pole gain prototypes, converted to second order sections and avoid the numerical precision problems associated with [b,a] transfer functions but allow use of filtfilt to eliminate phase distortion.

28 Dec 2009 chairmanK

Excellent! I hope that Mathworks incorporates this functionality into the dfilt class in the next release of the Signal Processing Toolbox.

14 Apr 2010 Mark Proulx

This function is sensational! I've been learning how to use filter objects, and really like the concept. I was discouraged, therefore, when I realized that the standard 'filtfilt' function only works with the transfer function form. This routine is precisely what I needed!

19 Aug 2010 Daniel Golden

A lovely little program that solved my problem!

23 Jan 2012 Ede

Sweet, thanks!
However, I am running in trouble when using it with parfor. Does anyone know why?

Please login to add a comment or rating.
Updates
12 Nov 2007

Minor improvements/fixes

13 Feb 2008

Allow impzlength to be specified on input - faster with multiple calls.

Tag Activity for this File
Tag Applied By Date/Time
filter design Malcolm Lidierth 22 Oct 2008 09:32:35
filter analysis Malcolm Lidierth 22 Oct 2008 09:32:35
filtfilt dfilt zerophase fdatool filter Malcolm Lidierth 22 Oct 2008 09:32:35

Contact us at files@mathworks.com