Agilent
N6171A MATLAB Data Analysis
Software for X-Series and
PSA Series Signal and
Spectrum Analyzers
Technical Overview
• Enhance your Agilent signal and
spectrum analyzers with the data
analysis power of MATLAB®
software
• Analyze and visualize your wireless
data, execute and test modulation
schemes, and develop automated
tests
• Develop and execute custom analysis
applications directly on your signal
analyzer or on a remote PC
• Acquire MATLAB software that has
been tested and qualifi ed by Agilent
on the same purchase order as your
signal and spectrum analyzers
Create and execute your own
analysis routines and
applications
Have you ever wished your signal or
spectrum analyzer had additional
signal analysis capabilities? Have
you ever wanted to create your
own custom application – or modify
an existing one – for your specifi c
testing needs? Have you ever wanted
your signal analyzer to provide
tools to test unique or proprietary
communications signals? With
today’s increasingly complex signals,
the standard analysis routines
provided with a signal or spectrum
analyzer are sometimes not enough.
Agilent Technologies now has
the perfect solution to meet your
specifi c testing needs – Agilent now
enables you to add the MATLAB
data analysis software environment
(Agilent application N6171A) when
you purchase a CXA (N9000A), EXA
(N9010A), MXA (N9020A), PXA
(N9030A) or PSA (E444xA) signal or
spectrum analyzer. Users can obtain
this high-quality instrumentation and
data analysis software from a single
source – a benefi t provided only by
Agilent Technologies.
MATLAB Overview
MATLAB is a well known and
respected data analysis software
environment and programming
language developed by The
MathWorks and now available for
purchase directly from Agilent.
MATLAB software can be used to
make measurements, analyze and
visualize data, generate arbitrary
waveforms, control instruments,
and build test systems. It provides
interactive tools and commandline functions for a wide range
of applications, including signal
processing, signal modulation, digital
fi ltering, and curve fi tting. MATLAB
has over 1,000,000 users in diverse
industries and disciplines, and it is a
standard at more than 3,500 colleges
and universities worldwide.
MATLAB extends the functionality of
Agilent signal and spectrum analyzers
by enabling you to analyze and
visualize your wireless data, execute
and test modulation schemes, and
develop automated tests. You can
develop and execute your own custom
analysis applications for your signal
analyzer directly on the instrument
itself or using a remote PC. You can
also design your own digital fi lters in
MATLAB and apply them to signals
acquired from your instrument. With
these capabilities, you can:
• Test the functionality of electronic
devices by making measurements
with Agilent instruments and
comparing them against known
baselines in MATLAB
• Excite electronic devices using
Agilent instruments with simple
or complex waveforms created
in MATLAB
• Characterize an electronic device
to determine how closely it
matches the design
• Verify new algorithms or
measurement routines using live
data from Agilent instruments
MATLAB can be installed and
executed directly on these Agilent
instruments or on a remote computer
using GPIB, LAN, or USB connectivity.
Benefi ts of purchasing MATLAB
from Agilent
Adding MATLAB software to the
purchase of your Agilent signal or
spectrum analyzer provides fi ve
key benefi ts:
• Convenience: Acquire software
and analyzer on a single purchase
order
• Confi dence: MATLAB software
sold through Agilent has been
tested and qualifi ed by Agilent
• Support: Contact either Agilent
or The MathWorks for help with
installation and technical
questions
• Quick start: Acquire numerous
application examples directly from
Agilent to get started
• Reliability: Ensure that your
MATLAB software is always
available to you when you need it
Figure 1. Visualize a live wireless signal on a 3D “waterfall plot” using a MATLAB application
available from Agilent. Execute this application
directly on the signal analyzer or remotely over
GPIB, LAN, or USB connectivity. Modify as
needed to meet your specifi c
testing needs.
2
Three N6171A MATLAB
packages available
Agilent has carefully chosen to offer
three MATLAB software packages to
its customers which represent typical
packages needed by its signal and
spectrum analyzer users. These
packages range from basic MATLAB
capabilities to acquire and analyze data
to full support for signal processing,
communications systems, fi lter
design, and automated testing:
OptionDescription Additional Information
This basic confi guration includes the MATLAB software
environment and the Instrument Control Toolbox. Use this
confi guration to confi gure, control, and acquire data from
an Agilent EXA, MXA, or PSA signal or spectrum analyzer to
perform basic signal analysis and visualization tasks.
Includes the products in the MATLAB – Basic Signal
Package plus the Communications Toolbox and Signal
Processing Toolbox. This confi guration extends MATLAB
software by providing graphical user interfaces (GUIs), plots,
and command-line functions to build, execute, analyze,
and test digital fi lters and modulation schemes. Use this
confi guration to fi lter or demodulate signals, automate
measurements, analyze or visualize data, or build test
systems using an Agilent X-Series or PSA signal or spectrum
analyzer.
Includes the products in the MATLAB – Standard Signal
Package plus the Filter Design Toolbox and RF Toolbox. This
confi guration extends MATLAB software by providing
advanced fi lter design methods including FIR, IIR, adaptive,
and multi-rate. This confi guration also provides GUIs, plots,
and command-line functions for designing, analyzing, and
visualizing networks of radio frequency (RF) components.
N6171A –
M01
N6171A –
M02
N6171A –
M03
MATLAB –
Basic Signal
Analysis
Package
MATLAB –
Standard
Signal
Analysis
Package
MATLAB –
Advanced
Signal
Analysis
Package
Specifi cations
Modern connectivity:
Choose the best connection to meet specifi c requirements:
• USB • GPIB
• LAN – 100 based-T • LXI – Class C compliant
Spectrum and signal analyzers Required software revision
CXA (N9000A) Rev A.03.08 or later
EXA (N9010A) Rev 1.05 or later
MXA (N9020A) Rev 1.24 or later
PSA (E444xA) Rev 2.07 or later
PXA (9030A) Rev 4.01 or later
MATLAB software R2008a or later
Figure 2. Develop a new MATLAB application or
modify an existing MATLAB application using
the MATLAB Editor provided by MATLAB.
Ordering Information
Model Description
N6171A – M01 MATLAB - Basic Signal Analysis Package
N6171A – M02 MATLAB - Standard Signal Analysis Package
N6171A – M03 MATLAB - Advanced Signal Analysis Package
Related Literature Agilent Literature Number
PSA data sheet 5980-1284EN
PXA data sheet 5990-3952EN
MXA data sheet 5989-4942EN
EXA data sheet 5989-6529EN
CXA data sheet 5990-4327EN
MATLAB applications for 5989-9377EN
X-Series analyzers
3
Additional details on toolboxes
provided in the MATLAB
packages
Instrument Control Toolbox lets you
communicate with instruments, such
as oscilloscopes, function generators,
and signal analyzers, directly from
MATLAB. The toolbox enables you
to communicate with instruments
via instrument drivers, such as IVI
and VXIplug&play, and commonlyused communication protocols, such
as GPIB, VISA, TCP/IP, and UDP.
With the Instrument Control Toolbox
product, you can generate data in
MATLAB to send out to an instrument,
or read data into MATLAB for analysis
and visualization.
Filter Design Toolbox product is
a collection of tools that provide
advanced techniques for designing,
simulating, and analyzing digital fi lters.
It extends Signal Processing Toolbox
with fi lter architectures and design
methods for complex real-time DSP
applications, including adaptive and
multi-rate fi ltering.
RF Toolbox extends the MATLAB
product with functions and a graphical
user interface (GUI) for designing,
modeling, analyzing, and visualizing
networks of radio frequency (RF)
components. You can use RF
Toolbox for working on wireless
communications, radar, and signal
integrity projects.
Figure 3. Use MATLAB to analyze third order
intercept vs. input level and tone separation
Communications Toolbox extends
the MATLAB software environment
with functions, plots, and a graphical
user interface (GUI) for exploring,
designing, analyzing, and simulating
algorithms for the physical layer
of communication systems.
Communications Toolbox helps you
create algorithms for commercial or
defense systems, such as mobile
handsets and base stations, wired
and wireless local area networks, and
digital subscriber lines. You can also
use it in research and education for
communication systems engineering.
Signal Processing Toolbox is a
collection of industry-standard
algorithms for analog and digital signal
processing (DSP). Signal Processing
Toolbox also provides graphical user
interfaces for interactive design and
analysis and command-line functions
for advanced algorithm development.
Added value from Agilent
Organizations that purchase MATLAB
software through Agilent are provided
a MATLAB instruments driver that is
tested and supported by Agilent for
the signal or spectrum analyzer that
they purchase. In addition, MATLAB
installation and technical support is
available from Agilent.
Agilent has also developed a suite of
MATLAB example applications for the
PSA, X-Series to assist customers in
their development and testing needs.
The example programs start with
basic data acquisition and plotting. In
addition, there are advanced programs
that allow users to create their
own complete applications. Agilent
provides an extensive white paper
which helps describe how to interface
MATLAB with its instruments and
how to use MATLAB to create both
beginner and advanced testing
solutions.
Figure 4. Analyze and test standard and new
modulation schemes using MATLAB software
and Agilent signal generators and analyzers.
4
Getting started
A MATLAB technical kit containing
over 20 of these MATLAB example
applications and programs, tested
MATLAB instrument drivers, technical
white paper, and data sheet are
available from Agilent for using
MATLAB software with your Agilent
wireless instruments. Download
this kit today at
www.agilent.com/find/N6171a.
MATLAB applications can be
executed directly on an Agilent
signal analyzer or on a remote
PC using GPIB, LAN, or USB
connectivity. Users can modify the
Agilent applications developed with
MATLAB to meet their specifi c
testing needs. While running
inside the instrument, the analog
demodulation application can be
driven with the front panel
of the instrument or using a remote
PC and operating the application
with a mouse.
Figure 5. Persistence
display using MATLAB
software.
Figure 6. Analog
demodulation of an FM
signal using a MATLAB
application.
Agilent tests and verifi es a MATLAB
driver and supports customers who
use it for development. IQ data can be
acquired with one command using the
MATLAB instrument driver. This data
can then be used for demodulation
and analysis of complex signals.
Figure 7. A MATLAB
plot of a QPSK signal
that used the MATLAB
instrument driver for IQ
data acquisition.
5
www.agilent.com/find/emailupdates
Get the latest information on the
products and applications you select.
www.lxistandard.org
LXI is the LAN-based successor to
GPIB, providing faster, more efficient
connectivity. Agilent is a founding
member of the LXI consortium.
Removealldoubt
Our repair and calibration services
will get your equipment back to
you, performing like new, when
promised. You will get full value out
of your Agilent equipment throughout its lifetime. Your equipment
will be serviced by Agilent-trained
technicians using the latest factory
calibration procedures, automated
repair diagnostics and genuine parts.
You will always have the utmost
confidence in your measurements.
For information regarding self maintenance of this product, please
contact your Agilent office.
Agilent offers a wide range of additional
expert test and measurement services
for your equipment, including initial
start-up assistance, onsite education
and training, as well as design, system
integration, and project management.
For more information on repair and
calibration services, go to:
www.agilent.com/find/removealldoubt
www.agilent.com
www.agilent.com/find/N6171a
For more information on Agilent
Technologies’ products, applications
or services, please contact your local
Agilent office. The complete list is
available at:
www.agilent.com/find/contactus
Americas
Canada (877) 894-4414
Latin America 305 269 7500
United States (800) 829-4444
Asia Pacific
Australia 1 800 629 485
China 800 810 0189
Hong Kong 800 938 693
India 1 800 112 929
Japan 0120 (421) 345
Korea 080 769 0800
Malaysia 1 800 888 848
Singapore 1 800 375 8100
Taiwan 0800 047 866
Thailand 1 800 226 008
Europe & Middle East
Austria 01 36027 71571
Belgium 32 (0) 2 404 93 40
Denmark 45 70 13 15 15
Finland 358 (0) 10 855 2100
France 0825 010 700*
*0.125 €/minute
Germany 07031 464 6333
Ireland 1890 924 204
Israel 972-3-9288-504/544
Italy 39 02 92 60 8484
Netherlands 31 (0) 20 547 2111
Spain 34 (91) 631 3300
Sweden 0200-88 22 55
Switzerland 0800 80 53 53
United Kingdom 44 (0) 118 9276201
Other European Countries:
www.agilent.com/find/contactus
Revised: July 2, 2009
MATLAB is a registered trademark of
The MathWorks, Inc.
Product specifications and descriptions
in this document subject to change
without notice.