MATLAB: Pitch calculation for speech signal

pitch calculation

[EDIT: 20110903 03:38 – merge duplicate – WDR]
How to calculate pitch for voiced speech signals?
[Material from duplicate question]
  1. I need how to calculate the pitch for voiced speech signal?
  2. How to calculate the LP residual signal? The equation is
e_n = x_n - sum_{k=1}^p a_k x_{n-k}.
Related Question