How to apply a appropriate sampleing frequency and cut off frquency for a low pass filter
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
nam bui
el 12 de Feb. de 2021
Comentada: Star Strider
el 12 de Feb. de 2021
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/517842/image.png)
hello, if you have a set of raw data like this how can you set a appropriate sampling frequency and cut off frequency?
Because I know that the table above provided a sampling frequency of Fs = 0.01 so I'm wondering if you change the value of Fs in the code, will it affect the filtered plot?
Thank you
0 comentarios
Respuesta aceptada
Star Strider
el 12 de Feb. de 2021
‘Because I know that the table above provided a sampling frequency of Fs = 0.01 ...’
That is not the sampling frequency. It is the sampling interval, and should actually be:
Ts = 0.01; % Sampling Interval
Fs = 1/Ts; % Sampling Frequency
Fn = Fs/2; % Nyquist Frequency
The sampling interval and sampling frequency cannot be changed, and produce meaningful output. The filter must use the information provided in the signal.
The cutoff (passband) frequency must be greater than 0 and less than the Nyquist frequency. What it is depends on what you want the filter to do.
4 comentarios
Star Strider
el 12 de Feb. de 2021
As always, my pleasure!
Of course, they do not change. Only the filter characteristics change, depending on what you want the filter to do.
Más respuestas (0)
Ver también
Categorías
Más información sobre Digital and Analog Filters en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!