cp0703_get_alpha_value.m

来自「《超宽带无线电基础》配套程序」· M 代码 · 共 28 行

M
28
字号
%
% FUNCTION 7.9 : "cp0703_get_alpha_value"
%
% This function is used to select the set of alpha values
% for each of the first 15 derivatives of the Gaaussian
% pulse
%
% The function receives as input the index 'i' indicating
% which setting must be adopted for the shape factors of
% the derivatives
%
% The function returns a vector of 15 elements
% corresponding to the value of the shape factor for each
% of the derivatives
%
% Programmed by Luca De Nardis

function alphavector = cp0703_get_alpha_value(i)
switch (i)
    case 1
        % vector characterized by a constant value of alpha for all derivatives 
        alphavector = [0.714e-9 0.714e-9 0.714e-9 0.714e-9 0.714e-9 0.714e-9 0.714e-9 0.714e-9 0.714e-9 0.714e-9 0.714e-9 0.714e-9 0.714e-9 0.714e-9 0.714e-9];
        
    case 2
        % vector characterized by a high value of alpha for the first derivative and a small value for derivatives 2-15 
        alphavector = [1.5e-9 0.314e-9 0.314e-9 0.314e-9 0.314e-9 0.314e-9 0.314e-9 0.314e-9 0.314e-9 0.314e-9 0.314e-9 0.314e-9 0.314e-9 0.314e-9 0.314e-9];
end

⌨️ 快捷键说明

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