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

📄 frequency_deinterleaving.m

📁 一些关于调指和解调的小程序
💻 M
字号:
function out=frequency_deinterleaving(M,P,input)

%**********************************************************************************
%%% frequency deinterleaving function
%%% M : number of data branches
%%% P : number of spreading branches, equal to the spreading code length (SF)
%%% inout : modulated and spreaded signal matrix
%%% This function preform the action reverse to the frequency_interleaving function
%%% Example: The (t-1)*M+i row vector of input signal matrix is should be located 
%%%          in the (i-1)*P+t row of deinterleaved signal matrix.(i=1,…,M)(t=1,…,P)
%***********************************************************************************


M=M;
P=P;
[A,B]=size(input);           %%% note A=M*P

tm=[];

for i=1:M
    for t=1:P
        tm((i-1)*P+t,:)=input((t-1)*M+i,:);
    end
end
out=tm;
clear M P A B tm

⌨️ 快捷键说明

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