Skip to content

FourierDCTMatrix

FourierDCTMatrix(n)

gives a discrete cosine transform matrix with the dimension (n,n) and method DCT-2

FourierDCTMatrix(n, methodNumber)

gives a discrete cosine transform matrix with the dimension (n,n) and method DCT-methodNumber

See

Examples

>> FourierDCTMatrix(3, 1)
{{1/2,1/2,1/2},
{1,0,-1},
{1/2,-1/2,1/2}}

Implementation status

  • ☑ - partially implemented

Github