Upsample VI

Owning Palette: Signal Operation VIs

Requires: Full Development System

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.

Details  

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Upsample (DBL)

X is a real vector.
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.
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.
Upsampled Array returns the upsampled sequence. The length of Upsampled Array is the upsampling factor times the length of X.
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.

Upsample (CDB)

X is the complex valued input sequence.
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.
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.
Upsampled Array returns the upsampled sequence. The length of Upsampled Array is the upsampling factor times the length of X.
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.

Upsample Details

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.