Digital Bandpass Filter With Phase

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

hello
what have you done so far ? read the doc if you need assistance to start this work

Sign in to comment.

Answers (1)

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.

Categories

Products

Release

R2021a

Asked:

on 10 Jun 2021

Answered:

on 30 Dec 2021

Community Treasure Hunt

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

Start Hunting!