dct1

Calculates the 1D discrete cosine transformation for the inputed signal x.

Arguments

  1. Vector data
  2. Integer prefered size

Output

Vector result

Examples

dct1