View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Measure radio frequency power using MATLAB and an RF power meter

5.0 | 1 rating Rate this file 8 Downloads (last 30 days) File Size: 2.32 KB File ID: #29592 Version:
image thumbnail

Measure radio frequency power using MATLAB and an RF power meter


Vinod Cherian (view profile)


01 Dec 2010 (Updated )

MATLAB example to make RF Power measurements using an Agilent RF Power Meter

| Watch this File

File Information

MATLAB is a software environment and programming language with over 1,000,000 users. MATLAB extends the functionality of Agilent instruments by enabling you to make application-specific and/or automated measurements and tests.
This example shows you how you can use MATLAB to control an Agilent RF Power Meter, make measurements, and retrieve the data into MATLAB and calculate a mean value of the measurements. The user can customize the code to set the IP address of their RF Power Meter, set the channel measurement offsets, etc. For more information on the SCPI commands used to control the instrument, refer to your instrument's programmer's guide.

To execute this example, type ‘[channelCPower, channelDPower] = readPowerMeter()’ in the MATLAB command window. Note: Change the IP address in the readPowerMeter.m file to the IP address of the instrument.

This MATLAB example has been tested using a Agilent N1914A RF Power Meter.

To request your free trial of MATLAB and/or Instrument Control Toolbox, visit

Required Products Instrument Control Toolbox
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
29 Jul 2014 Stacy

Stacy (view profile)

Awesome, thank you! You saved me a ton of work and I really appreciate the comments in the code. I have learned a lot just by reading through the code.

01 Sep 2016

Updated license

Contact us