FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro-Support
Wissen
Community
Über Uns
Referenzen
Jobs
Allgemeiner Kontakt
Händlerverzeichnis
FlexPro-Support
DE
EN
FR
Placeholder
Produkte und Lösungen
Support und Downloads
Unternehmen
Magazin
Kontakt
Sprache
MyWeisang

Account Einstellungen

Topic

Frequency Response of Filter

Startseite ' Community ' FPScript ' Frequency Response of Filter

Schlagwörter: 

Anzeigen von 2-Stellen - 1 bis 2 (von insgesamt 2)
  • Autor
    Beiträge
  • #33634
    Jonathan Smith
    Teilnehmer

    Hi,

    how can I calculate the frequency response (e.g. magnitude) of specific filter coefficients in FPScript? For example: Simpson Integral Filter with coefficients b = (1/3, 4/3, 1/3) and a = (1, 0, -1).

    Thanks in advance.

    Jon

    #33635

    Dear Jon,

    you can use the AmplitudeResponse() and the PhaseResponse() functions to calculate the frequency response corresponding to a set of filter coefficients. E.g. magnitude of Simpson Integral filter:

    Dim filterCoef = List("b", {1/3, 4/3, 1/3}, "a", {1, 0, -1})
    AmplitudeResponse(filterCoef)

    See attachment for the visualisation in a diagram.

Anzeigen von 2-Stellen - 1 bis 2 (von insgesamt 2)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.