filter Filter signal with channel object.
Y = filter(CHAN, X) processes the baseband signal vector X with the
channel object CHAN. The result is the signal vector Y. You can
construct CHAN using either RAYLEIGHCHAN or RICIANCHAN. The filter
function assumes X is sampled at frequency 1/TS, where TS equals the
InputSamplePeriod property of CHAN.
If CHAN.ResetBeforeFiltering is 0, then filter uses the existing state
information in CHAN when starting the filtering operation. As a result,
filter(CHAN, [X1 X2]) is equivalent to
[filter(CHAN, X1) filter(CHAN, X2)]. To reset CHAN manually, apply the
RESET function to CHAN.
If CHAN.ResetBeforeFiltering is 1, then filter resets CHAN before
starting the filtering operation, overwriting any previous state.
Y =滤波器(CHAN,X)用通道对象CHAN处理基带信号矢量X.结果是信号向量Y.您可以使用RAYLEIGHCHAN或RICIANCHAN构建CHAN。滤波函数假定X以频率1 /TS被采样,其中TS等于CHAN的InputSamplePeriod属性。
如果CHAN.ResetBeforeFiltering为0,则在开始过滤操作时,filter使用CHAN中现有的状态信息。因此,filter(CHAN,[X1 X2])相当于[filterfilterfilter(CHAN,X1)filter(CHAN,X2)]。要手动重置CHAN,请将RESET函数应用于CHAN。
如果CHAN.ResetBeforeFiltering是1,那么在开始滤波操作之前,滤波器重置CHAN,覆盖以前的任何状态。