[Scilab-users] discrete cosine transform

grivet grivet at cnrs-orleans.fr
Mon Aug 12 14:43:21 CEST 2013


Le 09/08/2013 22:23, Samuel Gougeon a écrit
       Hello,
> You may have a look at http://bugzilla.scilab.org/show_bug.cgi?id=12303
> where a work-around is provided
Thank you Smauel for providing this pointer. I have three additional 
remarks:
1. It seems that the problem has been partly solved since the original 
bug report. In my case (dft on the rows and dct on the columns of a 2D 
matrix),
the bug only appears when the matrix is square.
2. The Scilab function provided as a workaround emulates the "dct2" 
option; unfortunately, I need the"dct1" case. However, "dct2" is almost 
identical to
"dct1" if I shift the time points by half an interval.
3. There is a :misprint in the Scilab help for dct: the result X(k) is 
not a function of X(i) and X(n) but of a(1) and a(n), the input data.

Thank you for your help
JP Grivet




More information about the users mailing list