This example shows how MATLAB and Simulink can be used together with Agilent instruments for prototyping custom modulation schemes. It demonstrates MATLAB functionality for data acquisition, visualisation, and analysis. It finishes by a simple example illustrating the first step towards simulating the prototype communications system in Simulink.
More precisely, this script shows how to:
Use MATLAB to prototype a communication system that consists of a random bit generator, bit-to-integer converter, baseband modulator with custom modulation format, channel, demodulator, integer-to-bit converter.
Compute the system's bit error rate (BER)
Upload generated custom waveform to an Agilent vector signal generator
Acquire the signal using an Agilent MXA Signal Analyser
Demodulate and analyse the acquired signal.
Design a prototype Simulink model simulating a communication system using a custom modulation scheme
Self-contained sections of the demo require Communication Toolbox, Genetic Algorithm and Direct Search Toolbox, Simulink and Instrument Control Toolbox (enabling MATLAB and Simulink to communicate with Agilent instruments using GPIB, LAN, VISA, etc).
The package also contains the published version of the demo.
For additional information on using MATLAB with Agilent instruments, including examples, demos, drivers, and videos, visit:
http://www.mathworks.com/agilent
Information on using Instrument Control Toolbox for instrument control and configuration is available at:
http://www.mathworks.com/products/instrument |