The article describes the procedures developed by the authors in the MATLAB language for calculating and plotting the curves of operational characteristics of single-sampling plans for attributes based on the hypergeometric, binomial and Poisson distributions. Examples of using the proposed procedures for the analysis and comparison of sampling plans from various standards are given.