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

📄 gendata.m

📁 这是一个速率为2的mimo系统
💻 M
字号:
function gendata(permutation,sympf,qam)
% Generate original modulation data

%sympf=36;
%qam=16;
% generate raw constellation data for one frame
switch permutation,
    case 'DL_PUSC', % cluster structure
        orig_DPUSC=floor(qam*rand(sympf,120*12));
        save orig_DPUSC_QAM16.mat orig_DPUSC;
    case 'DL_FUSC', % Full used, Note: Not use Variable/Constant pilot set here!
        orig_DFUSC=floor(qam*rand(sympf,1702));
        switch qam,
            case 4,     % QPSK
                save orig_DFUSC_QPSK.mat orig_DFUSC;
            case 16,    % 16QAM
                save orig_DFUSC_QAM16.mat orig_DFUSC;
            case 64,    % 64QAM
                save orig_DFUSC_QAM64.mat orig_DFUSC;
            otherwise,
                error('Not Support Now!');
        end
    case 'UL_PUSC', % tile structure, Note: tile expand 3 symbols, must allocate data for 3 symbols one time
        orig_UPUSC=floor(qam*rand(sympf/3,420*8));
        save orig_UPUSC_QAM16.mat orig_UPUSC;
    otherwise,
        error('Not supported permutation!');
end

⌨️ 快捷键说明

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