opDCT Discrete cosine transform (DCT). opDCT(M) creates a one-dimensional discrete cosine transform operator for vectors of length M.