sdr.FIR.step_response(N: int | None = None) NDArray

Returns the step response \(s[n]\) of the FIR filter.

The step response \(s[n]\) is the filter output when the input is a unit step \(u[n]\).

Parameters:
N: int | None = None

The number of samples to return. The default is the filter length.

Returns:

The step response of the FIR filter \(s[n]\).

Examples

See the FIR filters example.