FIR Filter Design

FIR Filter Design - Calculation of digital filter coefficients - Messages

#1 Posted: 5/6/2013 3:05:06 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

FIR Filter Design

SMath Studio compatibility SMath Viewer compatibility mono compatibility Extension page Sources


Functions list: remez(4), remez2(4).

remez(vg, vr, vw, n) Returns coefficients for a FIR filter of length n generated by the Remez exchange algorithm.

Arguments:

- vg is a real vector, a grid of frequencies between 0 and 0.5.
- vr is a real vector of values between 0 and 1, length: vg / 2. Contains the frequency response over vg.
- vw is a real vector of values between 0 and 1, the same length as vr. Contains error weight over vg.
- n is an integer, the length of the filter.

Links:

1. Based on Parks-McClellan algorithm for FIR filter design (C version) by Jake Janovetz (part of the Analysis of Functional NeuroImages - a set of C programs for processing, analyzing, and displaying functional MRI (FMRI) data).
2. Parks-McClellan filter design algorithm.


[albumimg]117[/albumimg] [albumimg]118[/albumimg]

remez.sm (13 KiB) downloaded 170 time(s).
remez.pdf (48 KiB) downloaded 193 time(s).


See also:

1. Design FIR band-pass/stop filters up to length ~2000
FIRFilterDesign. Example 1 (rus).pdf (100 KiB) downloaded 220 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Davide Carpi 5/6/2013 5:21:00 PM, Andrey Ivashov 5/6/2013 5:41:00 PM
#2 Posted: 11/17/2021 5:20:00 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated. Please try.

Changes:

- remez2() function added.

Links:

1. Sources from tomtit
2. Test example for remez2().
Russia ☭ forever, Viacheslav N. Mezentsev
#3 Posted: 12/29/2021 2:34:56 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Calculation of digital filter coefficients for emulation/design High-Class Audio Multi-function Digital Filter SM5842AP/APT.

High-Class Audio Multi-function Digital Filter (SM5842AP-APT).sm (26 KiB) downloaded 88 time(s).
High-Class Audio Multi-function Digital Filter (SM5842AP-APT).pdf (169 KiB) downloaded 93 time(s).
SM5842AP.pdf (218 KiB) downloaded 71 time(s).

Click to enlarge Click to enlarge

Links:

1. The example is audiophile's "holy" NPC SM5842 8X interpolating digital filter.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Davide Carpi 12/29/2021 8:17:00 PM
  • New Posts New Posts
  • No New Posts No New Posts