1-D digital filter runtime
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Peter Cook
le 27 Mar 2015
Commenté : Star Strider
le 27 Mar 2015
Quick question - Is there any computational savings to padding input arrays for the filter function to a power of 2?
0 commentaires
Réponse acceptée
Star Strider
le 27 Mar 2015
Not that I’m aware of. It would likely do the opposite. (It could also introduce artefactual ‘ringing’ in the output with a sharp transition to zeros.)
Also, use the filtfilt function if you have the Signal Processing Toolbox. It has the advantage of not introducing any phase distortion. The filter function does.
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Digital Filtering dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!