genrootraisedcosine.m

来自「用matlab程序实现WCDMA系统的仿真」· M 代码 · 共 26 行

M
26
字号
function [y,t]=GenRootRaisedCosine(LBound,UBound,SampleRate,RollOff,SymbolPeriod)
%**********************************************************************************
%function [y,t]=GenRootRaisedCosine(LBound,UBound,SampleRate,RollOff,SymbolPeriod)
%
% Copyright 2002 The Mobile and Portable Radio Research Group
%
%
%Generates the impulse response of a square-root raised cosine filter.  Note that
%the impuse response of such a filter ranges from -infinity to infinity.  It is 
%therefore necessary to truncate it from LBound to UBound
%
% Parameters
%   Input
%      LBound         Scalar    Determines the minimum limit of the truncated 
%                               impulse response normalized by symbol period
%      UBound         Scalar    Determines the maximum limit of the truncated 
%                               impulse response normalized by symbol period
%      SampleRate     Scalar    The number of samples per symbol duration
%      RollOff        Scalar    Rolloff of the Filter.  Must not exceed 1
%      SymbolPeriod   Scalar    Symbol Duration (in seconds)
% 
%   Output
%      y              vector    Impulse response
%      t              vector    Time indexes
%**********************************************************************************

⌨️ 快捷键说明

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