Resampling without buffering

| Vector |
в палитре на схеме

The block implements a change in the sampling frequency of the signal without saving the samples. When resampling "down", samples are sampled from the input signal at a set frequency. When resampling "up", the sample of the signal at the output of the block is repeated the number of times determined by the ratio of the sampling frequencies at the input and output of the block.

Important! For the block to work correctly, the sampling period must be not less than the model integration step.

Входные порты

  • In - samples of the input signal at the initial sampling frequency.

Выходные порты

  • Out - samples of the output signal at an increased/decreased sampling frequency relative to the initial frequency.

Свойства

  • SamplingPeriod - sampling period of the signal at the output of the block (c). For the submodel to work correctly, the sampling period must be not less than the model integration step.

Параметры

None.