How can I do/implement Low pass filter function in matlab?

8 vues (au cours des 30 derniers jours)
Mohamed Jamall
Mohamed Jamall le 22 Juin 2020
Commenté : Satyam le 2 Nov 2023
Hi !
how can I use/do LOW PASS FILTER in matlab? I want to determine as inputs the cut off frequency .. and I want also as second input to enter to LOW PASS FILTER the signal (it's a vector) , so Im trying to do LOW PASS FILTER function called function Low_Pass_Filter(first input the cutoff frequency that I want to input it to my LOW PASS FILTER, Second input is the signal which it's a vector 1X10k size) .. any help please how can I do that in matlab?
thanks alot!
  1 commentaire
Satyam
Satyam le 2 Nov 2023
type fdatool in matlab command prompt and there you will get all options for realizing a filter

Connectez-vous pour commenter.

Réponses (1)

Star Strider
Star Strider le 22 Juin 2020
This is already available in the lowpass function (introduced in R2018a).
Otherwise, it is straightforward to define filters with the Signal Processing Toolbox functions. Note that you need to define the sampling freuqency of the signal in order to define the cutoff frequency correctly.
  4 commentaires
Mohamed Jamall
Mohamed Jamall le 22 Juin 2020
Modifié(e) : Mohamed Jamall le 22 Juin 2020
THANKS ALOT!
I understand the code, but there's something that Im missing, lets assume my frequency of transmitted data(I transmit RF PACKETS) is 868MHZ, symbol rate (bit rate) is 50Kbouad , sampling frequency is 2048K .
so if I want to do my Low Pass filter that the cut off of my LPF will be 50KBOAUD , what should I do? here's my problem. I want that my cutoff frequency of my LPF to be my symbol rate ..
thanks in advance for any assistance! appreciate!!!!
Star Strider
Star Strider le 22 Juin 2020
My code is intended for signal processing, not communications. I have essentially no experience with digital communications protocols. You will need to experiment to be certain my code does what you want in your application.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Signal Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by