MATLAB Answers

generate a bandpass signal

43 views (last 30 days)
uzmeed
uzmeed on 20 May 2018
Answered: Star Strider on 20 May 2018
I want to generate a bandpass signal .How can it be accomplished in matlab regards

  0 Comments

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 20 May 2018
If you have R2018a (or later) use the bandpass (link) function. If you use the ‘d’ output, remember to use the filtfilt function with it (since bandpass produces an IIR filter by default), rather than filter, that only works correctly with linear-phase FIR filters, such as those produced by fir1. (I consider this to be an error in the bandpass function documentation.)
Otherwise, search MATLAB Answers for ‘bandpass’. I’ve posted several well-documented examples over the years.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags