Scilab 5.3.1
- Scilab help
- Signal Processing
- How to
- Signal
- analpf
- bilt
- buttmag
- casc
- cepstrum
- cheb1mag
- cheb2mag
- chepol
- convol
- corr
- cspect
- czt
- detrend
- dft
- ell1mag
- eqfir
- eqiir
- faurre
- ffilt
- fft
- fft2
- fftshift
- filt_sinc
- filter
- find_freq
- findm
- frfit
- frmag
- fsfirlin
- group
- hank
- hilb
- hilbert
- iir
- iirgroup
- iirlp
- intdec
- jmat
- kalm
- lattn
- lattp
- lev
- levin
- lindquist
- mese
- mfft
- mrfit
- %asn
- %k
- %sn
- phc
- pspect
- remez
- remezb
- rpem
- sincd
- srfaur
- srkf
- sskf
- syredi
- system
- trans
- wfir
- wiener
- wigner
- window
- yulewalk
- zpbutt
- zpch1
- zpch2
- zpell
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
fsfirlin
FIRの設計,線形位相フィルタ, 周波数標本法e
呼び出し手順
[hst]=fsfirlin(hd,flag)
パラメータ
- hd
指定する周波数応答標本のベクトル
- flag
値は1 または 2で, 1形または2形設計を選択します
- hst
周波数グリッドにおける近似的な連続応答を指定するベクトル
説明
周波数標本法による FIR,線形位相フィルタの設計用関数です.
例
// //Example of how to use the fsfirlin macro for the design //of an FIR filter by a frequency sampling technique. // //Two filters are designed : the first (response hst1) with //abrupt transitions from 0 to 1 between passbands and stop //bands; the second (response hst2) with one sample in each //transition band (amplitude 0.5) for smoothing. // hd=[zeros(1,15) ones(1,10) zeros(1,39)];//desired samples hst1=fsfirlin(hd,1);//filter with no sample in the transition hd(15)=.5;hd(26)=.5;//samples in the transition bands hst2=fsfirlin(hd,1);//corresponding filter pas=1/prod(size(hst1))*.5; fg=0:pas:.5;//normalized frequencies grid plot2d([1 1].*.fg(1:257)',[hst1' hst2']); // 2nd example hd=[0*ones(1,15) ones(1,10) 0*ones(1,39)];//desired samples hst1=fsfirlin(hd,1);//filter with no sample in the transition hd(15)=.5;hd(26)=.5;//samples in the transition bands hst2=fsfirlin(hd,1);//corresponding filter pas=1/prod(size(hst1))*.5; fg=0:pas:.5;//normalized frequencies grid n=prod(size(hst1)) plot(fg(1:n),hst1); plot2d(fg(1:n)',hst2',[3],"000");
作者
G. Le Vey
<< frmag | Signal Processing | group >> |