Filtering of frame by frame IQ data from SDR
13 views (last 30 days)
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 on 7 Aug 2019
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.