Digital Bandpass Filter With Phase

4 views (last 30 days)
Hassan Abbasi
Hassan Abbasi on 10 Jun 2021
Answered: Arthi Sathyamurthi on 30 Dec 2021
Hi, I am having trouble creating a digital bandpass filter between the frequencies of 2-5Hz in MATLAB. I am trying to get the code to isolate the frequency in that range, and estimate the phase of dominant frequency. If you could help me design this filter, or share a similar code, that would help a alot.
Thank you!!
  1 Comment
Mathieu NOE
Mathieu NOE on 10 Jun 2021
hello
what have you done so far ? read the doc if you need assistance to start this work

Sign in to comment.

Answers (1)

Arthi Sathyamurthi
Arthi Sathyamurthi on 30 Dec 2021
Hello,
You can use the bandpass function to filter the input signal with a passband frequency range with normalized units of π rad/sample. Further to estimate the phase you can use the angle function. You can find examples in the link of the mentioned functions to help you get started.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by