Two Port S-Parameter Measurement

版本 1.1.0.1 (20.6 KB) 作者: Siddharth Shankar
Perform a 2-port s-parameter measurement using the Instrument Control Toolbox.
4.5K 次下载
更新时间 2016/9/1

查看许可证

MATLAB is a software environment and programming language with over 1,000,000 users and is used to generate arbitrary and standard waveforms, configure and control instruments, build automated test applications, and analyze and visualize data from other instruments. MATLAB only supports instrument communication when you use MATLAB with its Instrument Control Toolbox.

This example uses MATLAB to configure an Agilent PNA network analyzer and perform a 2-port S-parameter measurement using the Instrument Control Toolbox.

To execute this example, type ‘[frequencies sParameters] = acquireTwoPortSParameters’ in the MATLAB command window. [Note: Change the VISA resource string in the acquireTwoPortSParameters.m file to the VISA resource string corresponding to your instrument]. The MATLAB function: acquireTwoPortSParameters, returns two output arguments i.e. the 2-port s-parameter measurement together with the frequencies at which the measurements are made. This MATLAB function uses SCPI commands over a VISA interface object to interact with the instrument.
The other files contained in this submission are:

cableData.mat
TxLineModel.mdl

The MAT-File cableData.mat contains sample frequency data and a 2-port s-parameter measurement from a successful run of "acquireTwoPortSParameters". This file is independent of "acquireTwoPortSParameters" and is meant to provide an example of the data typically returned from such a measurement, without actually running the program.

The Simulink Model TxLineModel.mdl is a baseband equivalent model of a simple transmission line. This model may be configured with the data obtained using "acquireTwoPortSParameters". This model is also meant for illustrative purposes only and is not an essential part of the M-File.

To learn more about using MATLAB and Instrument Control Toolbox for configuring and controlling instruments, visit:
http://www.mathworks.com/products/instrument

For additional information on using MATLAB with Agilent instruments, including MATLAB examples, demos, drivers, and videos, visit:
http://www.mathworks.com/agilent

引用格式

Siddharth Shankar (2024). Two Port S-Parameter Measurement (https://www.mathworks.com/matlabcentral/fileexchange/24219-two-port-s-parameter-measurement), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.1

Updated license

1.1.0.0

Updated description of submission.

1.0.0.0