Set Rx bandwidth on and off for USRP X310

7 ビュー (過去 30 日間)
Benedict Isaac
Benedict Isaac 2022 年 12 月 4 日
編集済み: Nithin Kumar 2023 年 9 月 5 日
How do I set the filter bandwidth on and off for USRP X310?
I am trying to implement somehting like this from uhd in MATLAB for a receive application
uhd::usrp::multi_usrp::set_rx_bandwidth (double bandwidth, size_t chan =0)

回答 (1 件)

Nithin Kumar
Nithin Kumar 2023 年 9 月 5 日
編集済み: Nithin Kumar 2023 年 9 月 5 日
Hi Benedict,
To set the filter bandwidth for a USRP X310, kindly use the “rxbandwidth” property of the “comm.SDRuReceiver” object from the Communications Toolbox of MATLAB as shown below:.
1. Create a “comm.SDRuReceiver” object and set its properties:
% Create an SDRuReceiver object
usrp = comm.SDRuReceiver('Platform', 'X310', 'IPAddress', '192.168.10.1'); % Replace with your device's IP address
% Set the center frequency and gain (if needed)
usrp.CenterFrequency = 900e6; % Set to your desired center frequency in Hz
usrp.Gain = 0; % Set to your desired gain value in dB
2. To set the filter bandwidth, use the "rxbandwidth" property:
% Set the bandwidth in Hz
bandwidth = 1e6;
usrp.RxBandwidth = bandwidth;
3. To turn off the filter bandwidth and use the full bandwidth of the USRP, set it to "Full" or a high value:
% Turn off filtering (use the full bandwidth)
usrp.RxBandwidth = 'Full'; % or set to a high value like 100e6
4. Finally, you can receive data from the USRP using the "usrp" object:
receivedData = usrp();
For more information regarding "comm.SDRuReceiver" object, kindly refer to the following documentation:
I hope this provides you with the required information regarding your query.
Regards,
Nithin Kumar.

カテゴリ

Help Center および File ExchangeCommunications Toolbox についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by