fmaxl - Linux
Overview
fmaxl calculates the maximum error between the inband frequency response of a complex filter and a linear phase filter. The complex filter is assumed to be designed using the firl
command in MATLAB. The frequency response of the filter is computed using the freqz
command, and the maximum error is computed using the max
command.
Syntax
fmaxl(filter_coeffs)
Required Arguments:
- filter_coeffs: The filter coefficients of the complex filter. The filter coefficients should be in the format returned by the
firl
command.
Options/Flags
None
Examples
Simple Usage:
fmaxl([0.1, 0.2, 0.3, 0.4])
Complex Usage:
fmaxl(firl(100, [0.1, 0.2, 0.3, 0.4]))
Common Issues
None
Integration
Integration with Other Commands:
- firl: The output of the
firl
command can be used as input to thefmaxl
command. - freqz: The
freqz
command can be used to compute the frequency response of the filter. - max: The
max
command can be used to compute the maximum error.
Examples of Command Chains:
firl(100, [0.1, 0.2, 0.3, 0.4]) | freqz | fmax
firl(100, [0.1, 0.2, 0.3, 0.4]) | fmaxl
Related Commands
- firls: Designs linear phase FIR filters.
- freqz: Computes the frequency response of a filter.
- max: Computes the maximum value of a vector.
- MATLAB documentation for
fmaxl