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

📄 multx_time_domain.m

📁 OFDMA 物理层开发的matlab 源码.飞思卡尔提供.对物理层开发的工程师有帮助!
💻 M
字号:
% #####################################################################
% ####   Matlab  function for simulating IFFT computation, CP       ###
% ####   insertion and and GI insertion.                            ###
% ####   FFT is performed using Matlab's built in function          ###
% ####                                                              ###
% #####################################################################
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Property of Freescale
%  Freescale Confidential Proprietary
%  Freescale Copyright (C) 2005 All rights reserved
%  ----------------------------------------------------------------------------
%  $RCSfile: mULTx_Time_Domain.m.rca $
%  $Revision: 1.6 $
%  $Date: Fri Dec  8 14:13:54 2006 $
%  Target: Matlab
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%-- Matlab files used by this file
% mGIInsertion
% cp_insertion
%-- End of list

function [ifftout_cp] = mULTx_Time_Domain(ZoneConfig,TPparam,d_v_freq_inp)

% initialization
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Read system parameters 
n_cp = TPparam.SizeCP;    %Cyclic Prefix length(number of elements)

% processing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%add DC carrier and guard bands, DC first -> guard insertion is put into TP
d_v_freq_inp_withGuard = mGIInsertion(d_v_freq_inp,ZoneConfig.NFFT,ZoneConfig.LGuard,ZoneConfig.RGuard);

% IFFT computation and calculation of OFDM symbol time samples
% uses the built in IFFT function
ifftout = ifft(d_v_freq_inp_withGuard);

% Insert cyclic prefix and transpose
ifftout_cp = cp_insertion(ifftout,n_cp);

%concatenate all OFDM symbols in one column vector
[blksize,symbols] = size(ifftout_cp);
ifftout_cp = reshape(ifftout_cp,blksize*symbols,1);



⌨️ 快捷键说明

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