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

8 Ansichten (letzte 30 Tage)
Mohamed Jamall
Mohamed Jamall am 22 Jun. 2020
Kommentiert: Satyam am 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 Kommentar
Satyam
Satyam am 2 Nov. 2023
type fdatool in matlab command prompt and there you will get all options for realizing a filter

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Star Strider
Star Strider am 22 Jun. 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 Kommentare
Mohamed Jamall
Mohamed Jamall am 22 Jun. 2020
Bearbeitet: Mohamed Jamall am 22 Jun. 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 am 22 Jun. 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Signal Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by