Conversion between DCT to DFT frequency domains
Both are linear transforms. Both can be expressed as a matrix. These matrices  are invertible. So you can have the product of one matrix with the inverse of the other. In practice, you could not actually calculate inverse matrices, so you'd have to stick with solvers. However, such products are a little op-art. Coursey GNU octave.