Hi Shweta,
It is true that the algorithm only solves n unknowns, but if you look at the reference page below, the returned result is the AR coefficients which always include the leading coefficient of 1, therefore the total length is n+1.
HTH
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!