Introduction - If you have any usage issues, please Google them yourself
For the signal, which w (n) is zero mean and variance 1 AWGN. n = 1,2, ..., 128.
AR model power spectrum estimation. Assuming AR (4), with the LS method to estimate AR parameters, power spectrum with freqz (1, LS_ar, 1024,1) to verify.