I am told to design a bandpass filter but I used the function bandpass in matlab instead. But when I try it on the frequency-domain data, it gives me some negative value, which is supposed to be positive.

 채택된 답변

Star Strider
Star Strider 2018년 10월 13일

0 개 추천

Although designed in the frequency domain, digital filters created by bandpass and most other functions operate in the time domain.
If you want to see the effects of the filter in the frequency domain, use the fft (link) function on your time domain signals before filtering and after filtering.

댓글 수: 2

Duc Tran
Duc Tran 2018년 10월 15일
Thanks for your answer. I read many posts and it seems you are a super active member of the community.
Star Strider
Star Strider 2018년 10월 15일
As always, my pleasure.
I do my best!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2018년 10월 13일

댓글:

2018년 10월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by