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

📄 wim.m

📁 建模源程序,程序比较经典很实用.后面还有很多经典的程序.
💻 M
字号:
function [H, delays, full_output]=wim(wimpar,linkpar,antpar,initvalues)
%WIM  WINNER Phase I Channel Model (WIM)
%   H=WIM(WIMPAR,LINKPAR,ANTPAR) is a 5D-array of channel coefficients. For
%   explanation of the input parameter structs, see WIMPARSET, LINKPARSET,
%   and ANTPARSET. SIZE(H)=[U S N T K], where U is the number of MS (RX) 
%   elements, S is the number of BS (TX) elements, N is the number of paths, 
%   T is the number of time samples, and K is the number of links. If K=1,
%   the final dimension will be dropped, i.e. H is a 4D-array.
%
%   [H DELAYS]=WIM(...) outputs also a [KxN] matrix of path delays (in seconds). 
%
%   [H DELAYS BULKPAR]=WIM(...) outputs also the struct BULKPAR, whose fields
%   are as follows:
%
%   With NLOS propagation condition:
%
%   delays          - path delays in seconds [KxN]
%   path_powers     - relative path powers [KxN]
%   aods            - angles of departure in degrees over (-180,180) [KxNxM]
%   aoas            - angles of arrival in degrees over (-180,180) [KxNxM]
%   subpath_phases  - final phases for subpaths in degrees over (0,360) [KxNxM]
%   path_losses     - path losses in linear scale [Kx1]
%   MsBsDistance    - distances between MSs and BSs in meters [1xK]
%   shadow_fading   - shadow fading losses in linear scale [Kx1]
%   delta_t         - time sampling intervals for all links [Kx1]
%
%   In addition, when LOS condition (in addition to the above):
%
%   K_factors       - K factors for all links [Kx1]
%   Phi_LOS         - final phases for LOS paths in degrees over (-180,180) [Kx1]
%
%   [H ...]=WIM(...,INIT_VALUES) uses initial values given in the struct
%   INIT_VALUES, instead of random parameter generation. INIT_VALUES has
%   the same format as BULKPAR, except that SUBPATH_PHASES are now the
%   initial phases. Also, time sampling intervals (delta_t) are not used
%   (they are recalculated for every call of WIM).
%
%   Example:
%       % to generate matrices for 10 links with default parameters
%       H=wim(wimparset,linkparset(10),antparset);
%       % to generate matrices for A1 LOS scenario
%       wimpar=wimparset;wimpar.Scenario='A1';wimpar.PropagCondition: 'los'
%       H=wim(wimpar,linkparset(10),antparset);
%
%   Ref. [1]: D5.4, "Final Report on Link Level and System Level Channel Models"
%        [2]: 3GPP TR 25.996 v6.1.0 (2003-09)
%
%   See also WIMPARSET, LINKPARSET, ANTPARSET

%   Authors: Jari Salo (HUT), Giovanni Del Galdo (TUI), Pekka Ky鰏ti (EBIT), 
%   Daniela Laselva (EBIT), Marko Milojevic (TUI), Christian Schneider (TUI)
%   Lassi Hentil

⌨️ 快捷键说明

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