Inserts zeros in input sequence X by upsampling factor. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.


icon

Inputs/Outputs

  • c1dcdb.png X

    X is the complex valued input sequence.

  • ci32.png upsampling factor

    upsampling factor determines the number of zeros between two adjacent samples. The VI inserts upsampling factor – 1 zeros into every two elements in X. upsampling factor must be greater than zero. The default is 1.

  • ci32.png leading zeros

    leading zeros specifies the number of leading zeros in Upsampled Array. leading zeros must be greater than or equal to zero and less than upsampling factor. The default is 0.

  • i1dcdb.png Upsampled Array

    Upsampled Array returns the upsampled sequence. The length of Upsampled Array is the upsampling factor times the length of X.

  • ii32.png error

    error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

  • If Y represents the output sequence Upsampled Array, the Upsample VI obtains the elements of the sequence Y using the following equation.

    for i = 0, 1, 2, …, size–1,

    size = n*m,

    where n is the number of elements in X, m is the upsampling factor, k is leading zeros, and size is the number of elements in the output sequence Upsampled Array.