MATLAB statistical analysis and application: 40 case studies