Modified discrete cosine transform: Difference between revisions

Content deleted Content added
Line 77:
''a'' and of ''b''<sub>''R''</sub> to the MDCT of (''a'', ''b'', ''c'', ''d''), or equivalently, to
the result of
: IMDCT&nbsp;(MDCT&nbsp;(''a'', ''b'', ''c'', ''d''))&nbsp;=&nbsp; (''a''&minus;''b''<sub>''R''</sub>, ''b''&minus;''a''<sub>''R''</sub>, ''c'' + ''d''<sub>''R''</sub>, ''d'' + ''c''<sub>''R''</sub>) / 2.
The combinations ''c''&minus;''d''<sub>''R''</sub> and so on, have precisely the right signs for the combinations to cancel when they are added.
 
For '''odd''' ''N'' (which are rarely used in practice), ''N''/2 is not an integer, so the MDCT is not simply a shift permutation of a DCT-IV. In this case, the additional shift by half a sample means that the MDCT/IMDCT becomes equivalent to the DCT-III/II, and the analysis is analogous to the above.
 
=== Smoothness and discontinuities ===