You are here : matlabSignal Processingupsample

upsample() - Signal Processing

y = upsample(x,n) increases
the sampling rate of x by inserting n – 1 zeros between samples. x can
be a vector or a matrix. If x is a matrix, each
column is considered a separate sequence. The upsampled y has x*n samples.y = upsample(x,n,phase) specifies
the number of samples by which to offset the upsampled sequence. phase must
be an integer from 0 to n – 1.


Syntax

y = upsample(x,n)y = upsample(x,n,phase)


Example

Increase the sampling rate of a sequence by 3.


Output / Return Value


Limitations


Alternatives / See Also


Reference