2. Do the DCT on several vectors and explain result.
The first vector is {3,3,3,3}, which is just a multiple of the first row. The DCT will have zero amounts of the other three.
  
 ![RowBox[{{, RowBox[{12., ,, 2.22045*10^-16, ,, 0., ,, RowBox[{-, 1.05471*10^-15}]}], }}]](../HTMLFiles/index_9.gif) 
The second vector is {-10,10,-10,10}. The DCT is mostly high frequency.
  
 ![RowBox[{{, RowBox[{0., ,, RowBox[{-, 10.8239}], ,, 0., ,, RowBox[{-, 26.1313}]}], }}]](../HTMLFiles/index_11.gif) 
The third vector is {1,2,3,4}. This has a strong constant offset, then a fair amount of the next basis, and little of high frequencies.
  
 ![RowBox[{{, RowBox[{10., ,, RowBox[{-, 3.15432}], ,, 0., ,, RowBox[{-, 0.224171}]}], }}]](../HTMLFiles/index_13.gif) 
Created by Mathematica (April 1, 2004)