- Aide Scilab
- Traitement du Signal
- How to
- fft
- Signal
- analpf
- bilt
- buttmag
- casc
- cepstrum
- cheb1mag
- cheb2mag
- chepol
- convol
- corr
- cspect
- czt
- detrend
- dft
- ell1mag
- eqfir
- eqiir
- faurre
- ffilt
- 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
frmag
magnitude of FIR and IIR filters
Calling Sequence
[xm,fr]=frmag(sys,npts) [xm,fr]=frmag(num,den,npts)
Arguments
- sys
a single input, single output discrete transfer function, or a polynomial or the vector of polynomial coefficients, the filter.
- num
a polynomial or the vector of polynomial coefficients, the numerator of the filter
- den
a polynomial or the vector of polynomial coefficients, the denominator of the filter (the default value is 1).
- npts
integer, the number of points in frequency response.
- xm
vector of magnitude of frequency response at the points
fr
.- fr
points in the normalized frequency domain where magnitude is evaluated.
Description
calculates the magnitude of the frequency responses of FIR and IIR filters. The filter description can be one or two vectors of coefficients, one or two polynomials, or a single output discrete transfer function.
the frequency discretisation is given by
fr=linspace(0,1/2,npts)
.
Authors
Carey Bunks.
Examples
See Also
<< frfit | Traitement du Signal | fsfirlin >> |