Bug description: When I create a 2D matrix, and pass it to the dct function, I always get the same error message. See in error log for the complete message
Error log:
D=dct(Q);
!--error 999
dct: Creation of requested fftw plan failed.
How to reproduce the bug:
Q = [16, 11, 10,16, 24, 40, 51, 61;
12,12,14,19,26,58,60,55;
14,13,16,24,40,57,69,56;
14,17,22,29,51,87,80,62;
18,22,37,56,68,109,103,77;
24,35,55,64,81,104,113,92;
49,64,78,87,103,121,120,101;
72,92,95,98,112,100,103,99];
D=dct(Q);
Other information: I also tried with this matrix, same result.
A = [0.33,0.35,0.33,0.39,0.34,0.38,0.35,0.36;
0.38,0.36,0.39,0.37,0.44,0.37,0.38,0.39;
0.35,0.4,0.48,0.52,0.4,0.42,0.3,0.44;
0.36,0.36,0.41,0.44,0.44,0.37,0.38,0.56;
0.34,0.39,0.37,0.39,0.41,0.47,0.42,0.38;
0.38,0.46,0.41,0.44,0.47,0.46,0.38,0.38;
0.36,0.41,0.44,0.43,0.42,0.39,0.36,0.41;
0.42,0.44,0.4,0.46,0.38,0.41,0.38,0.43]