Abstract:The paper presents the simulation results of the process of Fraunhofer diffraction based on MATLAB. The patterns of five types of elements, single slit, one rectangular hole, two rectangular holes, the grating and round hole are given. The Fraunhofer diffraction optical intensity distribution is analyzed. College Physics teaching quality can improve by using MATLAB simulation.