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

📄 initialconstellation.asv

📁 APSK仿真程序
💻 ASV
字号:
% APSK Constellation
Parameter;
if M_ary==16
    Phs1=Phs(1);
    Phs2=Phs(2);
   Constellation_Table = [
Amp(2)*cos(Phs2*3) + Amp(2)*sin(Phs2*3)* j
Amp(2)*cos(Phs2*(-3)) + Amp(2)*sin(Phs2*(-3))* j
Amp(2)*cos(Phs2*9) + Amp(2)*sin(Phs2*9)* j
Amp(2)*cos(Phs2*(-9)) + Amp(2)*sin(Phs2*(-9))* j
%%%%%%%%%%%%%%%%%%
Amp(2)*cos(Phs2*1) + Amp(2)*sin(Phs2*1)* j
Amp(2)*cos(Phs2*(-1)) + Amp(2)*sin(Phs2*(-1))* j
Amp(2)*cos(Phs2*11) + Amp(2)*sin(Phs2*11)* j
Amp(2)*cos(Phs2*(-11)) + Amp(2)*sin(Phs2*(-11))* j
%%%%%%%%%%%%%%%%%%%
Amp(2)*cos(Phs2*5) + Amp(2)*sin(Phs2*5)* j
Amp(2)*cos(Phs2*(-5)) + Amp(2)*sin(Phs2*(-5))* j
Amp(2)*cos(Phs2*7) + Amp(2)*sin(Phs2*7)* j
Amp(2)*cos(Phs2*(-7)) + Amp(2)*sin(Phs2*(-7))* j
%%%%%%%%%%%%%%%%%%
Amp(1)*cos(Phs1*1) + Amp(1)*sin(Phs1*1)* j
Amp(1)*cos(Phs1*(-1)) + Amp(1)*sin(Phs1*(-1))* j
Amp(1)*cos(Phs1*3) + Amp(1)*sin(Phs1*3)* j
Amp(1)*cos(Phs1*(-3)) + Amp(1)*sin(Phs1*(-3))* j
];
else
    Phs1=Phs(1);
    Phs2=Phs(2);
    Phs3=Phs(3);
   Constellation_Table = [
Amp(2)*cos(Phs2*3) + Amp(2)*sin(Phs2*3)* j
Amp(2)*cos(Phs2*5) + Amp(2)*sin(Phs2*5)* j
Amp(2)*cos(Phs2*(-3)) + Amp(2)*sin(Phs2*(-3))* j
Amp(2)*cos(Phs2*(-5)) + Amp(2)*sin(Phs2*(-5))* j
%%%%%%%%%%%%%%%
Amp(2)*cos(Phs2*9) + Amp(2)*sin(Phs2*9)* j
Amp(2)*cos(Phs2*7) + Amp(2)*sin(Phs2*7)* j
Amp(2)*cos(Phs2*(-9)) + Amp(2)*sin(Phs2*(-9))* j
Amp(2)*cos(Phs2*(-7)) + Amp(2)*sin(Phs2*(-7))* j
%%%%%%%%%%%%%%%
Amp(3)*cos(Phs3*1) + Amp(3)*sin(Phs3*1)* j
Amp(3)*cos(Phs3*3) + Amp(3)*sin(Phs3*3)* j
Amp(3)*cos(Phs3*(-2)) + Amp(3)*sin(Phs3*(-2))* j
Amp(3)*cos(Phs3*(-4)) + Amp(3)*sin(Phs3*(-4))* j
%%%%%%%%%%%%%%%%
Amp(3)*cos(Phs3*6) + Amp(3)*sin(Phs3*6)* j
Amp(3)*cos(Phs3*4) + Amp(3)*sin(Phs3*4)* j
Amp(3)*cos(Phs3*(-7)) + Amp(3)*sin(Phs3*(-7))* j
Amp(3)*cos(Phs3*11) + Amp(3)*sin(Phs3*11)* j
%%%%%%%%%%%%%%%%
Amp(2)*cos(Phs2*1) + Amp(2)*sin(Phs2*1)* j
Amp(1)*cos(Phs1*1) + Amp(1)*sin(Phs1*1)* j
Amp(2)*cos(Phs2*(-1)) + Amp(2)*sin(Phs2*(-1))* j
Amp(1)*cos(Phs1*(-1)) + Amp(1)*sin(Phs1*(-1))* j
%%%%%%%%%%%%%%%%
Amp(2)*cos(Phs2*11) + Amp(2)*sin(Phs2*11)* j
Amp(1)*cos(Phs1*3) + Amp(1)*sin(Phs1*3)* j
Amp(2)*cos(Phs2*13) + Amp(2)*sin(Phs2*13)* j
Amp(1)*cos(Phs1*5) + Amp(1)*sin(Phs1*5)* j
%%%%%%%%%%%%%%%%
Amp(3)*cos(Phs3*0) + Amp(3)*sin(Phs3*0)* j
Amp(3)*cos(Phs3*2) + Amp(3)*sin(Phs3*2)* j
Amp(3)*cos(Phs3*(-1)) + Amp(3)*sin(Phs3*(-1))* j
Amp(3)*cos(Phs3*(-3)) + Amp(3)*sin(Phs3*(-3))* j
%%%%%%%%%%%%%%%%
Amp(3)*cos(Phs3*7) + Amp(3)*sin(Phs3*7)* j
Amp(3)*cos(Phs3*5) + Amp(3)*sin(Phs3*5)* j
Amp(3)*cos(Phs3*8) + Amp(3)*sin(Phs3*8)* j
Amp(3)*cos(Phs3*10) + Amp(3)*sin(Phs3*10)* j
];
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -