?? acquire iq vector.m
字號:
% MATLAB/MXA example 7
% Getting IQ data using the MXA driver and plot display
% Version: 1.0
% Date: Sep 11, 2006
% 2006 Agilent Technologies, Inc.
% TCPIP parameters
mxa_ip = '141.121.92.157';
mxa_port = 5025;
% MXA Interface creation and connection opening
mxa_if = tcpip(mxa_ip,mxa_port);
mxa = icdevice('agilent_mxa.mdd', mxa_if);
connect(mxa,'object')
% Get IQ data
iq = invoke(mxa,'getIQ');
% Create a figure 1 and bring it to the front
figure(1)
% Vector plot (imag vs real)
plot(real(iq),imag(iq))
% Axis adjustment
axis([-.5 .5 -.5 .5])
axis square
% Labels
xlabel('I')
ylabel('Q')
title('IQ vector plot')
% Close the MXA connection and clean up
disconnect(mxa);
delete(mxa);
clear mxa;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -