Triangular Filterbank

Frequency domain triangular filterbank with uniform spacing on arbitrarily warped frequency scale.
2.3K Downloads
Updated 13 Jun 2011

View License

Implements triangular filterbank given in [1]. Returns matrix of M triangular filters (one per row), each K coefficients long. The triangular filters are between limits given in R (Hz) and are uniformly spaced on a warped scale defined by forward (h2w) and backward (w2h) warping functions. For example, h2w and w2h can be hz2mel and mel2hz functions, respectively, in which case trifbank returns a mel filterbank, i.e., a filterbank of triangular filters uniformly spaced on the mel scale. Other forward and backward warping functions can be specified to arrive at arbitrary warped triangular filterbanks.

[1] Huang, X., Acero, A., Hon, H., 2001. Spoken Language Processing: A guide to theory, algorithm, and system development. Prentice Hall, Upper Saddle River, NJ, USA (pp. 314-315).

Cite As

Kamil Wojcicki (2024). Triangular Filterbank (https://www.mathworks.com/matlabcentral/fileexchange/31755-triangular-filterbank), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Audio Toolbox in Help Center and MATLAB Answers
Acknowledgements

Inspired: HTK MFCC MATLAB

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Trifbank now returns filter cutoff / center frequencies. In-file comments have been updated.

1.0.0.0