gongjigongyi.com

与米乐m6网页版登录入口代表实时聊天。 工作时间:上午 9:00 - 下午 5:00(太平洋标准时间)。

电话

致电我们

工作时间:上午9:00-下午5:00(太平洋标准时间)

下载

下载手册、产品技术资料、软件等:

下载类型
型号或关键字

反馈

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公司不负责该例程的完整性、可执行性和正确性。

请点击‘’安装说明“链接直接获取源码文件

此软件适用于:

相关产品信息