Topic
Frequency Response of Filter
Página de inicio ' Community ' FPScript ' Respuesta en frecuencia del filtro
Tagged: Respuesta en frecuencia
- Este tema contiene Respuesta 1, Voces 2, y fue actualizado por última vez el Hace 8 años, 4 meses por Anónimo.
Viendo los mensajes de 2 - 1 a 2 (de 2 en total)
-
AutorPuestos
-
28.09.2017 en 09:15 #33634Jonathan SmithParticipante
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
28.09.2017 en 09:31 #33635AnónimoInactivoDear 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.
-
AutorPuestos
Viendo los mensajes de 2 - 1 a 2 (de 2 en total)
- Debes estar registrado para responder a este tema.