generate a bandpass signal

3 views (last 30 days)
uzmeed
uzmeed on 20 May 2018
Commented: tuo on 29 Apr 2020
I want to generate a bandpass signal .How can it be accomplished in matlab regards

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.
  1 Comment
tuo
tuo on 29 Apr 2020
how can i generate a signal. Its sampling frequency is 60MHz, signal center frequency 15MHz, bandwidth 5MHz (-3db).

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!