Skip to content

Question on Filter implementation #717

Description

@hadamard-zweistein

I am interested in using the discrete transfer functions from the control library to filter signals and compute Fourier transforms.

For instance, given a discrete first order butterworth filter

from control import *

z = TransferFunction.z

c1 = 0.0196078431372549
c2 = -0.9607843137254902

Htest = c1*(1+z**(-1))/(1+c2*z**(-1))

How do I apply "Htest" on a signal "x" in order to obtain the filtered signal? Is there already a feature for that?

Likewise it would be very practical to use the transfer function of the Goertzel alg. to compute a fourier transform of a signal.

Thank you!

Hadamard-Zweistein

Activity

  1. locked and limited conversation to collaborators on Apr 4, 2022
  2. converted this issue into a discussion #718 on Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions