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

📄 qam4_64.m

📁 本程序是QAM的调制程序
💻 M
字号:
%产生QAM信号
function y = QAM4_64(n);
% n=2;
M=2^n; %信号的元数
switch n
    case  2  
        x = randint(5000,1,M); % Message signal
        y = qammod(x,M);
        scatterplot(y);
    case  3  
        x = randint(5000,1,M); % Message signal
        y = qammod(x,M);
        scatterplot(y); 
   case  4 
        x = randint(5000,1,M); % Message signal
        y = qammod(x,M);
        scatterplot(y);
    case  5  
        x = randint(5000,1,M); % Message signal
        y = qammod(x,M);
        scatterplot(y); 
    case  6 
        x = randint(5000,1,M); % Message signal
        y = qammod(x,M);
        scatterplot(y);  
%     otherwise  
%         disp('M不在我们研究的范围');
end;
           
            
% x = randint(5000,1,M); % Message signal
% y4QAM = qammod(x,M);
% scatterplot(y4QAM);

⌨️ 快捷键说明

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