upsample
Upsample a sequence by an integer factor.
📝Syntax
Y = upsample(X, n)
Y = upsample(X, n, phase)
Y = upsample(X, n, phase, dim)
📥Input Arguments
Parameter Description
X input array.
n positive integer upsampling factor.
phase optional insertion phase from 0 to n - 1.
dim optional dimension to process.
📤Output Arguments
Parameter Description
Y upsampled array with inserted zeros.
📄Description

upsample inserts n - 1 zeros between samples along the selected dimension.

💡Examples
Y = upsample([1 2 3], 2)
🔗See Also
downsampleupfirdn
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub