Octave/MATLAB code for USRP2 DDC?

Does anyone happen to have Octave or MATLAB code that models the USRP2’s
DDC (CIC and HBFs)?

-Marc

On Fri, Aug 13, 2010 at 12:06, Marc E. [email protected] wrote:

Does anyone happen to have Octave or MATLAB code that models the USRP2’s DDC (CIC and HBFs)?

This covers the CIC portion:

http://gnuradio.org/redmine/repositories/annotate/gnuradio/gnuradio-core/src/utils/plot_cic_decimator_response.m

This useful going the other direction; i.e., compensating for the CIC
passband droop:

http://gnuradio.org/redmine/repositories/annotate/gnuradio/gnuradio-core/src/utils/cic_comp_taps.m

One way to model the HB response would be to use the actual taps as an
impulse response and go from there. You can dig them out of the
Verilog source code in the Ettus repository (sorry, don’t have a link
at the moment.)

Johnathan

On Aug 18, 2010, at 7:42 PM, Johnathan C. wrote:

On Fri, Aug 13, 2010 at 12:06, Marc E. [email protected] wrote:

Does anyone happen to have Octave or MATLAB code that models the USRP2’s DDC (CIC and HBFs)?

This covers the CIC portion:

http://gnuradio.org/redmine/repositories/annotate/gnuradio/gnuradio-core/src/utils/plot_cic_decimator_response.m

Well lookie there. Already in my home folder. Thanks!

-Marc