寻Matlab中firrcos(n,F0,r,fs'type',delay)函数中F0与delay的详细中文定义,

2020-06-18 教育 225阅读
在MatLab 的Command Window输入“help firrcos”得到以下: ================================================================================= FIRRCOS Raised Cosine FIR Filter design.
B=FIRRCOS(N,Fc,DF,Fs) returns an order N low pass linear phase FIR
filter with a raised cosine transition band. The filter has cutoff
frequency Fc, sampling frequency Fs and transition bandwidth DF (all in
Hz). The order of the filter, N, must be even.

Fc +/- DF/2 must be in the range [0,Fs/2].

The coefficients of B are normalized so that the nominal passband gain
is always equal to one.

FIRRCOS(N,Fc,DF) uses a default sampling frequency of Fs = 2.

B=FIRRCOS(N,Fc,R,Fs,'rolloff') interprets the third argument as the
rolloff factor instead of as a transition bandwidth. Alternatively, you
can specify B=FIRRCOS(N,Fc,DF,Fs,'bandwidth') which is equivalent to
B=FIRRCOS(N,Fc,DF,Fs).

R must be in the range [0,1].

B=FIRRCOS(N,Fc,DF,Fs,DESIGNTYPE) or
B=FIRRCOS(N,Fc,R,Fs,'rolloff',DESIGNTYPE)
will design a regular FIR raised cosine filter when DESIGNTYPE is
'normal' or set to an empty matrix. If DESIGNTYPE is 'sqrt', B is the
square root FIR raised cosine filter.

B=FIRRCOS(...,DESIGNTYPE,DELAY) allows for a variable integer delay to
be specified. When omitted or left empty, DELAY defaults to N/2.

DELAY must be an integer in the range [0, N+1].

B=FIRRCOS(...,DELAY,WINDOW) applies a length N+1 window to the designed
filter in order to reduce the ripple in the frequency response. WINDOW
must be a N+1 long column vector. If no window is specified a boxcar
(rectangular) window is used.

WARNING: Care must be exercised when using a window with a delay other
than the default.

[B,A]=FIRRCOS(...) will always return A = 1.

See also firls, fir1, fir2. Reference page in Help browser
doc firrcos ================================================================================= 你式中的“F0”其实是上面help中的“Fc”,也就是frequency频率,相应设置它的值即可。其中你都明白的香农定理为:0
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com