节点文献
基于Matlab与VB的光栅衍射综合实验仿真
Synthetic Experiment Simulation of grating diffraction Based on MATLAB and VB
【摘要】 以光栅衍射为例,编写了基于Matlab的仿真程序。利用DLL接口技术,结合Matlab强大的科学计算功能以及Visual Basic的可视化功能,通过改变输入参数实现了对光栅衍射、单缝衍射、杨氏双缝干涉以及多光束干涉的光学实验进行生动形象的仿真模拟。实验结果的图样细致逼真,可为光学的理论分析和实验教学提供新的有效辅助手段,并为相关课件的设计提供了新的途径。
【Abstract】 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.
【Key words】 Matlab; Visual Basic; grating diffraction; multi-beam interference; DLL; interface;
- 【文献出处】 现代电子技术 ,Modern Electronics Technique , 编辑部邮箱 ,2012年04期
- 【分类号】O436.1;TP391.9
- 【被引频次】1
- 【下载频次】476