⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 constel.m

📁 ofdm_64QAM_simulation,只是进行的初步的实验,大家仅仅供参考,共同研究进步吧!
💻 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 + -