comnum.upsample#
- comnum.upsample(x, factor)#
Insert
factor - 1zeros after every sample.- Parameters:
x (array_like) – the signal.
factor (int) – the upsampling factor.
- Returns:
factor·len(x)samples (complex128).- Return type:
- Raises:
ValueError – for an input that is not an array of numbers of the expected shape.