摘要
以光栅衍射为例,编写了基于Matlab的仿真程序。利用DLL接口技术,结合Matlab强大的科学计算功能以及Visual Basic的可视化功能,通过改变输入参数实现了对光栅衍射、单缝衍射、杨氏双缝干涉以及多光束干涉的光学实验进行生动形象的仿真模拟。实验结果的图样细致逼真,可为光学的理论分析和实验教学提供新的有效辅助手段,并为相关课件的设计提供了新的途径。
Taking the grating diffraction as an example,the simulation program based on MATLAB is compiled,and then using the interfacing technology of DLL,combining MATLAB powerful function of scientific calculation and visualization function of Visual Basic,the optical experiments of grating diffraction,single slot diffraction,Young′s double-slit interference and multi-beam interference are imitated vividly by changing the input parameters.The patterns of the experiment are delicate and distinct.It offers a new effective supplementary means for optical theory analysis and experiment teaching.In addition,it provides a new way for courseware design.
出处
《现代电子技术》
2012年第4期57-61,共5页
Modern Electronics Technique
基金
教育部高等学校物理基础课程教学指导分委员会资助项目(WJZW-2010-47-2n)