Clear Filters
Clear Filters

RTL-SDR IQ data

32 views (last 30 days)
Michael McFarland
Michael McFarland on 15 Mar 2023
Answered: Rijuta on 19 Apr 2023
Hello,
I am trying to record IQ data of a signal using a RTL SDR to find the power of the signal. I have previously done this using SDR#, which outputs a single column stream of IQ data. However, when using the RTLSDR toolbox in Matlab, the output IQ is saved as matrix. This matrix has rows equalling the SamplesPerFrame and columns equalling the number of frames. How can i instead get a single stream of data? What's even more confusing is I have tried this using the Ettus E310 SDR on Matlab and it outputs a single stream of data.
Thanks.

Answers (1)

Rijuta
Rijuta on 19 Apr 2023
Hi Michael,
I understand that you are using the RTLSDR toolbox in MATLAB to record IQ data from a RTL-SDR device, but the output data is saved as a matrix with rows representing samples per frame and columns representing frames. However, you would like to get a single stream of data similar to what you obtained with SDR# or the Ettus E310 SDR.
To achieve a single stream of IQ data, you can simply concatenate the columns of the matrix into a single column vector using the 'reshape' function.

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!