I have a vector x of length N x 1, I need to perform the iDCT operation for it using MATALB. I performed that using the below method:
x = [1+i;1-i;-1+i;1+i]; %Assume N = 4 y = sqrt(4)*idct(x);
Then I performed it using the other way such that:
x = [1+i;1-i;-1+i;1+i]; %Assume N = 4 D= dctmtx(4)/sqrt(4); y = D'*x;
I don't find the value of y equals in the two ways ?? However for the case of of FFT operations, that gives the same results!
Is there a special case for DCT operation?