A time-series consisting of white noise plus Brownian motion sampled at equal intervals of time is exactly orthogonalized by a discrete cosine transform (DCT-II). This paper explores the properties of a version of spectral analysis based on the discrete cosine transform and its use in distinguishing between a stationary time-series and an integrated (unit root) time-series.