RSA MATLAB dpx plot_使用Matlabd读取RSA的DPX频谱图

This simple code shows how DPX trace data, saved in the form of a .mat file, can be extracted and plotted in MATLAB. It takes the trace data from the file, then plots it as a Spectrogram and Waterfall(3D) plot. These .mat files have the following four variables in addition to the trace data: rsaMetadata, SpectraCenter, SpectraSpan, and TDelta. The number of loop iterations is set to be equal to the total number of traces. Since the .mat file contains the trace data + 4 variables, the number of iterations is calculated by determining the total number of variables in the file, then subtracting this value by 4. This code is intended as a proof of concept to get trace data from a .mat file into the MATLAB workspace. It can easily be expanded on for more advanced analysis.

To get the correct file format when saving data, follow these steps:
1) In SignalVu-PC, stop the current acquisition. Then go to File -> Save As
2) Select 'Acq data export with Setup (MAT) (*.mat)' for the 'Save as type' field, then click Save.
NOTE: The directory you save this data should be the same directory where the .m file is saved.
3) Once the 'File Contents' window pops up, select 'DPX spectra' for Data types then 'All in history' for Data records. Then click Save.

.MAT格式数据请自行在SignalVu-PC或者RSA5000上保存。

请注意相关软件配置环境以及VISA resource地址。Tektronix公司不负责该例程的完整性、可执行性和正确性。

  • Software Type: 编码采样
  • Release Date:

By downloading, you agree to the terms and conditions of the Software Download Agreement.

For programs licensed under the “GNU General Public License (GPL) or Lesser GNU General Public License (LGPL)” the complete corresponding sources are available. You can order a complete machine-readable copy of the source code from us for a period of three (3) years after download or receipt of the software, by sending a written request to:

Chief Intellectual Property
Counsel
Tektronix, Inc.
MS/50 LAW
14150 SW Karl Braun Dr.
Beaverton, OR 97077

This offer is valid to anyone in receipt of this information.

Your request should include: the name of the product, (ii) your (company) name, and (iii) your return mailing and email address (if available).

Please note that we may charge you a fee to cover the cost of performing this distribution.

下載
下載

下載手冊、產品規格表、軟體等等:

Go to top