Y = upsample(X, n)
Y = upsample(X, n, phase)
Y = upsample(X, n, phase, dim)
| Parameter | Description |
|---|---|
| X | input array. |
| n | positive integer upsampling factor. |
| phase | optional insertion phase from 0 to n - 1. |
| dim | optional dimension to process. |
| Parameter | Description |
|---|---|
| Y | upsampled array with inserted zeros. |
upsample inserts n - 1 zeros between samples along the selected dimension.
Y = upsample([1 2 3], 2)
| Version | Description |
|---|---|
| 2.0.0 | initial version |