FIR Filter

FIR Filter - "response" function to apply FIR filter - Messages

#1 Posted: 11/3/2019 1:34:37 PM
Alexander Dräbenstedt

Alexander Dräbenstedt

1 likes in 3 posts.

Group: User

Hi,
Is there a function to apply a FIR filter to a data vector, like "response" in Mathcad?
I could write my own convolution, but it will become cumbersome at the beginning and end of the vector.

I found the remez function to generate arbitrary pass/stop band combinations, its nice. Are there also the more basic generators for high/low-pass filters somewhere?
#2 Posted: 11/3/2019 7:34:49 PM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Is there a function to apply a FIR filter to a data vector, like "response" in Mathcad?
I could write my own convolution, but it will become cumbersome at the beginning and end of the vector.

I found the remez function to generate arbitrary pass/stop band combinations, its nice. Are there also the more basic generators for high/low-pass filters somewhere?


You can map 2D, 3D to any math function.
Why not show something. Filter is too general
Filter/smooth ... Filter band ...

0Appendix Pulse train.sm (6.4 KiB) downloaded 218 time(s).
Convolution Numerical [Pulse model].sm (24.12 KiB) downloaded 191 time(s).
0Appendix Gaussian Convolution.sm (21.82 KiB) downloaded 218 time(s).
0Appendix_2 Toise Bidirectional.sm (36.47 KiB) downloaded 235 time(s).
Convol.sm (93.88 KiB) downloaded 228 time(s).
Maths Filter EQMF.sm (30.21 KiB) downloaded 233 time(s).
Maths Filter Igor.sm (40.62 KiB) downloaded 220 time(s).
#3 Posted: 11/4/2019 9:23:21 AM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Is there a function to apply a FIR filter to a data vector, like "response" in Mathcad
?


I don't think much of the Mathcad response 20 years old maybe.
In those days, they fight imitating analog filters.
Attach your signal data, what you want to do.

signal.PNG

Maths Filter response.sm (18.34 KiB) downloaded 239 time(s).

#4 Posted: 11/5/2019 11:25:42 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,040 likes in 1,705 posts.

Group: User

Hi. This function emulates the matlab filter function (https://uk.mathworks.com/help/matlab/ref/filter.html) Hope it's helps.

filter.sm (34.81 KiB) downloaded 248 time(s).

Best regards.
Alvaro.
1 users liked this post
sergio 11/5/2019 12:49:00 PM
#5 Posted: 11/5/2019 6:15:55 PM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

... lot more smoothing in there.

filter.sm (49.5 KiB) downloaded 237 time(s).
Fourier Budapest39 Smoothing_2.sm (46.17 KiB) downloaded 236 time(s).
Fourier DCT-II [Data].sm (142.36 KiB) downloaded 192 time(s).
  • New Posts
  • No New Posts