Computes the Discrete Sine Transform (DST) of the input sequence X. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.


icon

Inputs/Outputs

  • c1ddbl.png X

    X is a real vector.

  • ci32.png DST size

    DST size is the length of the DST you want to perform.

    If DST size is greater than the number of elements in X, this VI adds zeros to the end of X to match the size of DST size. If DST size is less than the number of elements in X, this VI uses only the leading DST size elements in X to perform the DST. If DST size is less than or equal to zero, this VI uses the length of X as the DST size.

  • i1ddbl.png DST {X}

    DST {X} is the DST 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.

  • 1D DST

    The one-dimensional Discrete Sine Transform DST {X} of a sequence X is defined as:

    , k=0, 1, 2, …, N–1

    where N is the length of the input sequence X, xn is the nth element of the input sequence X, and yk is the kth element of the output sequence DST {X}. This VI applies a fast DST algorithm instead of calculating the Discrete Sine Transform directly. LabVIEW implements this fast DST algorithm using an FFT-based technique.