📄 wim_core.m
字号:
%WIM_CORE Channel coefficient computation for a geometric channel model
% [H DELTA_T FINAL_PHASES FINAL_PHASES_LOS]=WIM_CORE(WIMPAR,LINKPAR,ANTPAR,BULKPAR,BSGAIN,BSGAIN_LOS,MSGAIN,MSGAIN_LOS,OFFSET_TIME, BSGAINISSCALAR, MSGAINISSCALAR)
% This is the wim_core aka the big for loop. It implements the formula in
% [2, Eq. 3.26-28].
%
% Outputs:
%
% H - [UxSxNxTxK] array of channel coefficients
% DELTA_T - time sampling intervals (in seconds) for all links
% FINAL_PHASES - final phases of all subpaths in degrees over (-180,180)
% FINAL_PHASES_LOS- final phases for LOS paths in degrees over (-180,180)
%
% Inputs:
%
% WIMPAR - input struct, see WIMPARSET
% LINKPAR - input struct, see LINKPARSET
% ANTPAR - input struct, see ANTPARSET
% BULKPAR - input BULKPAR, see GENERATE_BULK_PAR
% BSGAIN - [KxSxNxM] array of interpolated antenna field
% patterns (complex)
% BSGAIN_LOS - [KxS] array of interpolated antenna field patterns
% (complex) for LOS paths. Only used with the LOS
% option; it is set to scalar otherwise.
% MSGAIN - [KxUxNxM] array of interpolated antenna field
% patterns (complex)
% MSGAIN_LOS - [KxU] array of interpolated antenna field patterns
% (complex) for LOS paths. Only used with the LOS
% option; it is set to scalar otherwise.
% OFFSET_TIME - time offset added to the initial phase (set to zero by default)
% BSGAINISSCALAR - this is 1 if BsGain is uniform over azimuth, 0 otherwise.
% MSGAINISSCALAR - this is 1 if MsGain is uniform over azimuth, 0 otherwise.
%
% With 'polarized' option:
%
% BSGAIN - [KxSx2xNxM] array of interpolated antenna field
% patterns (complex), where the third dimension are
% the patterns for [V H] polarizations.
% MSGAIN - [KxUx2xNxM] array of interpolated antenna field
% patterns (complex), where the third dimension are
% the patterns for [V H] polarizations.
%
% The ANCI-C version is develeped in WINNER project originally to
% implement the 3GPP SCM.
% To compile the ANSI-C written optimized core, type
%
% mex scm_mex_core.c
%
% at MATLAB prompt. For further documentation on the ANSI-C implementation
% of the WIM_CORE, see SCM_MEX_CORE.
%
% Ref. [1]: 3GPP TR 25.996 v6.1.0 (2003-09)
% [2]: D5.4, "Final Report on Link Level and System Level Channel Models"
%
% Authors: Giovanni Del Galdo (TUI), Jussi Salmi (HUT), Marko Milojevic (TUI),
% Christian Schneider (TUI), Jari Salo (HUT), Pekka Ky鰏ti (EBIT),
% Daniela Laselva (EBIT), Lassi Hentil
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -