The functions described in this section manipulate signal samples. Sampling functions are used to change the sampling rate of the input signal and thus to obtain the signal vector of a required length. The functions perform the following operations:

  • Insert zero-valued samples between neighboring samples of a signal (up-sample).
  • Remove samples from between neighboring samples of a signal (down-sample).

The upsampling and downsampling functions are used by some filtering functions described in Chapter 6.

有关编译器优化的更完整信息,请参阅优化通知