⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 opt_elem.m

📁 Matlab实现光线跟踪算法
💻 M
字号:
function opt_elem = opt_elem(type)% OPT_ELEM - Default opt_elem structure% % Calling%  opt_elem = opt_elem(type)% % See also OPT_APERTURE, OPT_GRID, OPT_LENS, OPT_PRISM, OPT_SCREEN, OPT_SLIT% Version: 1.0% Copyright: Bjorn Gustavsson 20020430opt_elem.type = type;opt_elem.r = []; % location of the optical elementopt_elem.n = []; % normal of the optical elementopt_elem.dxdydz = []; % rectangular sizeopt_elem.diameter = []; % Circular sizeopt_elem.glass = ''; % Glass type, for apertures and the like -> `air'!opt_elem.arc = [];   % Anti reflectin coating, currently scalar(*)opt_elem.imgres = [];% size of image: [sx sy]opt_elem.img = [];   % imageopt_elem.r_o_curv = []; % spherical curvature of lenses.opt_elem.lpmm = [];     % lines per milimeter for gridsopt_elem.e_slits = [];  % unit vector || with grid slitsopt_elem.absorption = 0; % absorpptionopt_elem.fcn1 = inline('');opt_elem.fcn2 = inline('');opt_elem.arglist = struct;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -