In this paper MATLAB is used in a demonstration of the central limit theorem (CLT). MATLAB is a powerful computer program used in education and industry. MATLAB allows us to increase the sample size and not sacrifice speed of computation while demonstrating the basic concept of the CLT as it applies to probability and statistics. We will give its history as well as a clear understanding of its power. In addition to reproducing previous work[l], we will provide the MATLAB code used to perform further demonstrations. Our program will select 30 integers between one and six, as in Lazari et. al. It will then compute each individual mean (L1) and store it in a list (L5) while repeating itself n times, where n is the total number of ensembles. Upon completion, distribution plots are obtained for then means as well as a combined histogram for each individual (L5). For a very large n, the program does indeed demonstrate that the distribution of the sample means is really normal as in Lazari et al.
Hasbun, Javier E.
"Demonstrating the Central Limit Theorem Using MATLAB,"
Georgia Journal of Science, Vol. 62, No. 2, Article 5.
Available at: https://digitalcommons.gaacademy.org/gjs/vol62/iss2/5