Scilab Function

frmag - magnitude of FIR and IIR filters

### Sequence d'appel

  `[xm,fr]=frmag(num[,den],npts)`

### Parametres

- `npts` : integer (number of points in frequency response)
- `xm` : mvector of magnitude of frequency response at the points `fr`
- `fr` : points in the frequency domain where magnitude is evaluated
- `num` : if `den` is omitted vector coefficients/polynomial/rational polynomial of filter
- `num` : if `den` is given vector coefficients/polynomial of filter numerator
- `den` : vector coefficients/polynomial of filter denominator

### 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 rational polynomial.

### Auteur

C. B.