Qurak

FourierDCTMatrix

Available, differs from the .wl reference

Generate the `n`×`n` discrete cosine transform matrix. The optional second

FourierDCTMatrix[n]
FourierDCTMatrix[n, m]
FourierDCTMatrix[1] → {{1}}FourierDCTMatrix[3] → {{1/Sqrt[3], 1/2, 1/(2*Sqrt[3])}, {1/Sqrt[3], 0, -(1/Sqrt[3])}, {1/Sqrt[3], -1/2, 1/(2*Sqrt[3])}}FourierDCTMatrix[3, 1] → {{1/2, 1/2, 1/2}, {1, 0, -1}, {1/2, -1/2, 1/2}}FourierDCTMatrix[3, 3] → {{1/Sqrt[3], 1/Sqrt[3], 1/Sqrt[3]}, {1, 0, -1}, {1/Sqrt[3], -2/Sqrt[3], 1/Sqrt[3]}}

Topics

Related

All 6300 functions · Use this from an MCP client