• 大小: 3KB
    文件类型: .m
    金币: 1
    下载: 0 次
    发布日期: 2021-06-16
  • 语言: Matlab
  • 标签: lte-a  

资源简介

lte-a小区间干扰仿真程序,MATLAB仿真基于经典算法的性能比较和实现

资源截图

代码片段和文件信息

classdef nearestNeighborInterpolator < handle
% Implementation a nearest neighbor interpolator.
% (c) Josep Colom Ikuno INTHFT 2009

   properties
       tap_delays               % Tap delays
       tap_delays_samples       % Tap delays in samples for this sampling frequency
       relative_power_dB        % Relative powers (dB)
       NTap                     % Number of taps
       Fs                       % New sampling frequency
       nTX                      % Number of TX antennas
       nRX                      % Number of RX antennas
       num_faders               % number of faders that we will need. As taps may merge this may not be the number of taps the PDP has
       number_of_realizations   % Number of channel realizations mainly for fast fading case
   end

   methods
       % Class constructor
       function obj = nearestNeighborInterpolator(...
               Fs...
               NTap...
               the_tap_delays_in_s...
               the_relative_powers_in_dB...
               nTXnRX)
               
           obj.nTX = nTX;
           obj.nRX = nRX;
           obj.NTap = NTap;
           obj.Fs = Fs;
           obj.tap_delays = the_tap_delays_in_s;
           obj.tap_delays_samples = round(the_tap_delays_in_s*Fs);
           obj.relative_power_dB = the_relative_powers_in_dB;
           obj.num_faders = length(unique(obj.tap_delays_samples)); % some taps merge by a specific sampling freq
       end
       
       function [h] = g

评论

共有 条评论