I wanted to do formant analysis using MATLAB and did everything according to the following tutorial:
https://de.mathworks.com/help/signal/ug/formant-estimation-with-lpc-coefficients.html
I have speech signals with a sampling frequency of 44.1kHz, therefore I changed the order of the LPC estimation to 46.
But I have the following problem: the algorithm sometimes works well, but most of the time the formants are completely off. Especially for female voice. I tried to play around with the required bandwidth and lower limit for the formant frequency, but nothing yielded sufficiently good results for various voices.
I hope, that someone might have some tips for me to improve the code, such that it works more generally.