generate a bandpass signal
3 views (last 30 days)
Show older comments
I want to generate a bandpass signal .How can it be accomplished in matlab regards
0 Comments
Answers (1)
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
on 29 Apr 2020
how can i generate a signal. Its sampling frequency is 60MHz, signal center frequency 15MHz, bandwidth 5MHz (-3db).
See Also
Categories
Find more on Digital Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!