This Matlab code simulates OFDM channel estimation using a PN sequence as a cyclic prefix. It generates transmitted OFDM signals, adds channel effects using different multipath delay profiles, and estimates the channel using three methods: conventional correlation, correlation with two-tap filter estimation, and interpolation of periodically inserted PN sequences. It compares the bit error rates of the three channel estimation methods under varying signal-to-noise ratios.