?? constel.m
字號:
% 64QAM views Constelation
% x = 7,5,3,1,-1,-3,-5,-7; y = 7,5,3,1,-1,-3,-5,-7;
function Constel(data,SubCarrier)
Len=length(data);
Ne = Len/SubCarrier;
Real_dat=real(data);
Image_dat=imag(data);
for Num=1:8,
%Num = input ('Enter is SubCarrier of Number(1~32): ');
for ip=1:Ne,
% for np=1:SubCarrier,
temp_Re(ip)=Real_dat(SubCarrier*(ip-1)+Num);
temp_Im(ip)=Image_dat(SubCarrier*(ip-1)+Num);
%end;
end;
disp('Enter to see the plot of the OFDM signal spectrum')
figure(4)
subplot(2,4,Num);
plot(temp_Re,temp_Im,'*'),grid;
axis([-10 10 -10 10])
%axis([-30 30 -30 30])
end;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -