-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
I've created an implementation for zpk2tf function. The function is used to convert a zero-pole-gain representation of a filter to a transfer function representation where the return value is a array of numerator and denominator coefficients. The function is used in the design of digital filters.
The equivalent function in Matlab is zp2tf(z,p,k) and in Python is scipy.signal.zpk2tf(z,p,k).
I've also created an implementation for freqz function. The function is used to compute the frequency response of a digital filter. where it takes the numerator and denominator coefficients as input and returns the frequency response as an array of complex numbers.
The equivalent function in Matlab is freqz(b,a) and in Python is scipy.signal.freqz(b,a).
I want to create a PR but I don't know the right category for this functions, should it be in src/function/special or create a new category for it named signal or filter?