Function File: y = upsample (x, n)
Function File: y = upsample (x, n, offset)

Upsample the signal, inserting n-1 zeros between every element.

If x is a matrix, upsample every column.

If offset is specified, control the position of the inserted sample in the block of n zeros.

See also: decimate, downsample, interp, resample, upfirdn.

Package: signal