rrcosfilter(N, alpha, Ts, Fs)

Generates a root raised cosine (RRC) filter (FIR) impulse response.

  • N (int) – Length of the filter in samples.
  • alpha (float) – Roll off factor (Valid values are [0, 1]).
  • Ts (float) – Symbol period in seconds.
  • Fs (float) – Sampling Rate in Hz.

  • time_idx (1-D ndarray of floats) – Array containing the time indices, in seconds, for the impulse response.
  • h_rrc (1-D ndarray of floats) – Impulse response of the root raised cosine filter.