MathWorks - Mobile View
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
MathWorks
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out

Videos and Webinars

  • MathWorks
  • Videos
  • Videos Home
  • Search
  • Videos Home
  • Search
  • Contact sales
  • Trial software
  Register to watch video
  • Description
  • Full Transcript
  • Related Resources

RF Signal Capture Using MATLAB and SDR

Ben Harry Cunningham, MathWorks

The Pluto Radio, USRP® Embedded Series Radio and Xilinx® Zynq®-Based Radio support packages from Communications Toolbox™ can be used to capture RF signals off the air using Software Defined Radio (SDR) hardware. Using a simple-to-use MATLAB® interface, any signal can be captured either into the MATLAB workspace or directly to a file for post-capture processing in MATLAB and Simulink®. First, the capture function is used to record the FM Broadcast spectrum to a file which is later read back into a DSP System Toolbox™ spectrum analyzer that highlights peaks corresponding to local broadcast stations. Next, the capture function is used to receive an LTE frame from a local antenna to the MATLAB workspace. LTE Toolbox™ is then used to decode the known physical cell identifier to verify reception.

This video shows you how to capture RF waveforms off the air using MathWorks toolboxes and SDR connectivity.

This is accomplished using the capture method, which can be used to return data from the hardware to the MATLAB workspace and/or directly to a file.

First, I will make a recording of the FM Broadcast spectrum directly to a file using any supported SDR platform; in this case, Pluto Radio.

Then I will capture an LTE frame to the MATLAB workspace for analysis with the LTE Toolbox. For this I will use an Ettus E310 as the SDR platform.

Let’s start by configuring my attached hardware and setting up an SDR receiver object to receive RF data off the air. Looking at the receiver properties, I will set the centre frequency to the middle of the FM Broadcast spectrum, and the baseband sample rate to the maximum value.

Next, I will call the “capture” method on my receiver object. I specify the capture length and units. I also specify a filename which will be used to store the captured data.

Later, I decide to process the captured data. I create a baseband file reader system object and pass it the name of my generated baseband file.

I pass the output from the baseband file reader into the spectrum analyser to render the data.

In the spectrum analyzer I can observe peaks in the frequency domain. These correspond to local FM broadcast stations.

Next, I will capture an LTE frame off the air to the MATLAB workspace.

I start by identifying a nearby antenna before setting up an SDR receiver system object in MATLAB with the appropriate centre frequency.

I then call the capture function, setting the capture length to the duration of a single LTE frame.

The capture method returns the data as an output and, once returned, I utilize LTE Toolbox to find the physical cell identifier.

The functionality I have shown here is available in three different support packages: for Xilinx Zynq-Based Radio hardware, Analog Devices Pluto Radio, and Ettus Research E310 and E312. The support packages are free downloads based on Communications Toolbox.

To find these support packages, you can search for “matlab sdr” in your favourite search engine; the MATLAB and Simulink SDR page should be at or near the top. On the page you can find out more details on the support packages shown in this video, or some of our other support.

Related Products

  • Communications Toolbox

Feedback

Featured Product

Communications Toolbox

  • Request Trial
  • Get Pricing

Up Next:

22:13
Accelerating Signal Processing and Communications...

Related Videos:

23:53
Waveform Generation and Testing with Software-Defined...
21:55
Getting Started with Software-Defined Radio using MATLAB...
2:57
Design Wireless Systems with MATLAB and Simulink
2:50
Agilent Signal Analyzers: Performing IQ Data Capture with...

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

Select web site

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Contact sales
  • Trial software

Explore Products

  • MATLAB
  • Simulink
  • Student Software
  • Hardware Support
  • File Exchange

Try or Buy

  • Downloads
  • Trial Software
  • Contact Sales
  • Pricing and Licensing
  • How to Buy

Learn to Use

  • Documentation
  • Tutorials
  • Examples
  • Videos and Webinars
  • Training

Get Support

  • Installation Help
  • Answers
  • Consulting
  • License Center
  • Contact Support

About MathWorks

  • Careers
  • Newsroom
  • Social Mission
  • Contact Sales
  • About MathWorks

MathWorks

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Discover…

  • Select a Web Site United States
  • Patents
  • Trademarks
  • Privacy Policy
  • Preventing Piracy
  • Application Status

© 1994-2021 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Join the conversation