How to find the correct coefficients from matlab dct?

1 view (last 30 days)
Hi,
I have performed a DCT on a signal and I want to create the original signal back by using the fourier co-efficients which I will get from DCT. But, I don't know how to do the correct normalization of the co-efficients.
Does someone know about it?
Thanks!

Answers (1)

Matt J
Matt J on 28 Mar 2019
If I assume you used dct to go forward, you should just be able to use idct to go back.
  4 Comments
Hassan Bhatti
Hassan Bhatti on 28 Mar 2019
I have already tested FFT by getting the co-efficients out and putting it the fourier series back to get the original one. So, the same logic should be applicable for dct as well.
I have the co-efficients but just want to know how they are normalized?
Matt J
Matt J on 28 Mar 2019
That depends. How did you implement the forward dct.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!