Filtering of frame by frame IQ data from SDR

11 ビュー (過去 30 日間)
Sopan Sarkar
Sopan Sarkar 2019 年 7 月 29 日
コメント済み: Sopan Sarkar 2019 年 8 月 27 日
I am using an N210 USRP to receive data at center frequency 2.406 GHz with sampling rate of 4MHz. The output data from the SDR is IQ data which are received in frames of 4000 , which can be defined in Matlab using SamplesPerFrame in comm.SDRuReceiver.
First, I am not sure what my reception bandwidth is because there is no way to define the bandwidth of the SDR using comm.SDRuReceiver. The daughter board that I am using (CBX-40) has a bandwith of 40MHz. I am not sure but my guess is that, since I declaired the sampling frequency to 4MHz, the bandwith will be calculated using Nyqust theorem as 2MHz.
Second, since data is received from SDR in frames, that means that the whole sample will be divided into 4Msamples/ 4000 = 1000 frames [Sampling rate divided by samples per frame]. But I have no idea on how to apply filtering on frame based data. What I am trying to accomplish is to apply a complex bandpass filter on the IQ data using a low pass filter with cut off frequency of 500 KHz (forming a band of 1MHz).

採用された回答

Kaashyap Pappu
Kaashyap Pappu 2019 年 8 月 7 日
To filter the frame-based samples, you can use the “filter” function with a “filter” object as shown here. By appropriately assigning the “dim” variable, each frame can be filtered independently as different channels.
  1 件のコメント
Sopan Sarkar
Sopan Sarkar 2019 年 8 月 27 日
Hello Kaashyap,
Thank you very much for your reply. My radio is tuned to only 1 channel and I get the IQ data as a column vector from USRP. So, if I use the design as -
x = vector of IQ data
b = fir1(50,.4);
hd = dfilt.dffir(b);
y1 = filter(hd,x,1)
-my filter will act along the column. Using this desing I get data but I don't get the desired amount of data and I am trying to figure out why. After reading the documentation in the link that you provided I still have one confusion - my sampling rate is 2Msps and my frame size is 250000, so my data is defined by 8 frames. So, will this filter design be able to filter out the desired band of data?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by