https://it.mathworks.com/help/econ/aicbic.html
aicbic - Information criteria - MATLAB
This MATLAB function returns the Akaike information criteria (AIC) from the input vector of loglikelihood values and corresponding vector of numbers of...
informationcriteriamatlab