https://it.mathworks.com/help/audio/ref/pitchnn.html
pitchnn - Estimate pitch with deep learning neural network - MATLAB
This MATLAB function returns estimates of the fundamental frequency over time for audioIn with sample rate fs.
deep learningneural networkestimatepitchmatlab