Introduction - If you have any usage issues, please Google them yourself
Using the diffraction principle of light, the analytical expression of the intensity of the diffraction grating is obtained, and then the one-dimensional and two-dimensional images of the light intensity distribution are simulated by using the powerful drawing function of MATLAB software.