Matlab 菲涅尔系数计算
1 简介
Matlab 菲涅尔系数计算
2 部分代码
function varargout = Fresnel(varargin)
% FRESNEL MATLAB code for Fresnel.fig
% FRESNEL, by itself, creates a new FRESNEL or raises the existing
% singleton*.
%
% H = FRESNEL returns the handle to a new FRESNEL or the handle to
% the existing singleton*.
%
% FRESNEL('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in FRESNEL.M with the given input arguments.
%
% FRESNEL('Property','Value',...) creates a new FRESNEL or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before Fresnel_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to Fresnel_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help Fresnel
% Last Modified by GUIDE v2.5 28-May-2021 12:02:27
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @Fresnel_OpeningFcn, ...
'gui_OutputFcn', @Fresnel_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes on button press in radiobutton_ps.
function radiobutton_ps_Callback(hObject, eventdata, handles)
% hObject handle to radiobutton_ps (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobutton_ps
% --- Executes on button press in radiobutton_pp.
function radiobutton_pp_Callback(hObject, eventdata, handles)
% hObject handle to radiobutton_pp (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobutton_pp
% --- Executes on button press in radiobutton_Tp.
function radiobutton_Tp_Callback(hObject, eventdata, handles)
% hObject handle to radiobutton_Tp (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobutton_Tp
% --- Executes on button press in radiobutton_ts.
function radiobutton_ts_Callback(hObject, eventdata, handles)
% hObject handle to radiobutton_ts (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobutton_ts
% --- Executes on button press in radiobutton_rrs.
function radiobutton_rrs_Callback(hObject, eventdata, handles)
% hObject handle to radiobutton_rrs (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobutton_rrs
% --- Executes on selection change in popupmenu_model.
function popupmenu_model_Callback(hObject, eventdata, handles)
% hObject handle to popupmenu_model (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns popupmenu_model contents as cell array
% contents{get(hObject,'Value')} returns selected item from popupmenu_model
Model = get(handles.popupmenu_model,'Value');
if Model == 1
set(handles.uipanel11,'Visible','off');
set(handles.uipanel7,'Visible','on');
set(handles.uipanel8,'Visible','on');
else
set(handles.uipanel11,'Visible','on');
set(handles.uipanel7,'Visible','off');
set(handles.uipanel8,'Visible','off');
end
% --- Executes during object creation, after setting all properties.
function popupmenu_model_CreateFcn(hObject, eventdata, handles)
% hObject handle to popupmenu_model (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on button press in radiobutton_pn.
function radiobutton_pn_Callback(hObject, eventdata, handles)
% hObject handle to radiobutton_pn (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobutton_pn
% --- Executes on button press in radiobutton_Tn.
function radiobutton_Tn_Callback(hObject, eventdata, handles)
% hObject handle to radiobutton_Tn (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobutton_Tn
3 仿真结果
4 参考文献
[1]连松友等. "光学增透和增反多层膜的设计与计算." 材料科学 7.1(2017):10.
博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。
部分理论引用网络文献,若有侵权联系博主删除。
Matlab 菲涅尔系数计算相关推荐
- 【光学】基于matlab GUI菲涅尔系数计算【含Matlab源码 1165期】
⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[光学]基于matlab GUI菲涅尔系数计算[含Matlab源码 1165期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方式2: ...
- matlab菲涅尔衍射_有问必答——SYNOPSYS安装体验课堂——可以设计菲涅尔透镜吗?...
问:SYNOPSYS可以设计菲涅尔透镜吗? 答:在USS中有多种菲涅尔面型,用户输入参数即可. 问:SYNOPSYS中具有的输入方式? 答:大家总是有个误区,以为SYNOPSYS需要输入命令运行,其实 ...
- matlab 菲涅尔环,菲涅耳区讨论 - 通信原理与基础 - 通信人家园 - Powered by C114
1.菲涅耳区 当需要计算传播主区的几何尺寸时,要应用惠更斯-菲涅尔原理.惠更斯-菲涅尔原理认为,波在传播过程中,波面上的每一点都是一个进行二次辐射球面波(子波)的波源,而下一个波面,就是前一个波面所辐 ...
- 菲涅尔区在线计算|无线传输损耗计算|dB(m,i)与功率(W)换算
在线计算地址:https://lunaw.cn/wifical/ 菲涅尔区在线计算 菲涅尔区计算:R = 根号(波长*某点到一端距离*某点到另一端距离/两端之间距离) 中心区域计算:R = 根号(波长 ...
- Fresnal菲涅尔物体自发光
Shader代码 Properties{_MainTex("Texture", 2D) = "white" {}_FresnalColor("菲涅耳效 ...
- Fresnel(菲涅尔)
背景: 菲涅耳公式用来描述光在不同折射率的介质之间的行为.菲涅尔公式是光学中的重要公式,用它能解释反射光的强度.折射光的强度.相位与入射光的强度的关系. 1. 反射公式: fresnel = fres ...
- Unity Shader:实现菲涅尔+色散效果的环境映射以及相关原理解析
文章目录 1,色散在光学中的原理 2,反射的数学计算方法以及用它实现环境映射 3,折射的原理以及色散的实现 4,菲涅尔效果 5,拥有菲涅尔与色散效果的环境映射 1,色散在光学中的原理 复色光 --现实 ...
- Physics CG:菲涅尔(fresnel)反射
这一篇是物理学CG的开篇,其实我多开了一个分类也是心理无奈的,自身水平有限,而很多物理图形学知识积累太少,有些甚至根本没学过.然而高级图形学知识中,或者说高级图形着色效果中,很大一部分是基于" ...
- MATLAB:菲涅尔公式(反射/透射公式)
目录 案例1:光疏到光密介质 案例2:光密到光疏介质 案例1:光疏到光密介质 平面光波从空气(折射率为)入射到石英玻璃中(折射率为),用 MATLAB作出p.s分量的振幅反射率和振幅透射率以及它们的绝 ...
最新文章
- vue中把props中的值赋值给data
- 如何调用形参数组_函数的参数
- 柳传志:联想又遇新坎儿 要做斯巴达克方针
- python人脸识别plc_三个Python项目实战,打造人脸识别系统!
- Centos5, 6下更改系统时间和时区
- 机器学习方法三要素-阿里云大学
- 做计算机的小卫士教案,小卫士在行动小班教案
- 为旧版代码创建存根–测试技术6
- java sundry tips
- 疯狂的程序员_程序员的乐趣是什么?
- 如何使用sp_send_dbmail存储过程将SQL查询结果通过电子邮件发送到智能手机
- windows游戏程序自动备份与更新
- paip.提升性能----jvm参数调整.txt
- html页面怎么记住密码,使用html的localstorage实现登录页面的记住密码功能
- CS224N 笔记一
- python求小于n的最大素数_枚举1--求小于n的最大素数
- html5 新增input类型,html5新增的input类型
- WannaCry 勒索软件
- 论算法的重要性与乐趣
- w3c搬运CSS念念碎