Antworten (1)

Star Strider
Star Strider am 20 Mai 2018

0 Stimmen

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 Kommentar

tuo
tuo am 29 Apr. 2020
how can i generate a signal. Its sampling frequency is 60MHz, signal center frequency 15MHz, bandwidth 5MHz (-3db).

Melden Sie sich an, um zu kommentieren.

Tags

Gefragt:

am 20 Mai 2018

Kommentiert:

tuo
am 29 Apr. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by