【光学】基于matlab模拟凹面反射镜物象共轭

✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。

🍎个人主页:Matlab科研工作室

🍊个人信条:格物致知。

更多Matlab仿真内容点击👇

智能优化算法       神经网络预测       雷达通信       无线传感器        电力系统

信号处理              图像处理               路径规划       元胞自动机        无人机 

⛄ 内容介绍

本文论述动态下光学系统及元件的物象共扼关系

⛄ 部分代码

function varargout = test2(varargin)

% TEST2 MATLAB code for test2.fig

%      TEST2, by itself, creates a new TEST2 or raises the existing

%      singleton*.

%

%      H = TEST2 returns the handle to a new TEST2 or the handle to

%      the existing singleton*.

%

%      TEST2('CALLBACK',hObject,eventData,handles,...) calls the local

%      function named CALLBACK in TEST2.M with the given input arguments.

%

%      TEST2('Property','Value',...) creates a new TEST2 or raises the

%      existing singleton*.  Starting from the left, property value pairs are

%      applied to the GUI before test2_OpeningFcn gets called.  An

%      unrecognized property name or invalid value makes property application

%      stop.  All inputs are passed to test2_OpeningFcn via

text(handles.axes1,-100,7,'C','Linewidth',3,'fontsize',20,'color',[0 0 0]/255,'FontAngle','italic','fontname','Times New Roman');  %画字母C

text(handles.axes1,-102,0,'·','Linewidth',3,'fontsize',30,'color',[0 0 0]/255,'FontAngle','italic','fontname','Times New Roman'); %画球心

text(handles.axes1,0,0,'O','Linewidth',3,'fontsize',20,'color',[0 0 0]/255,'FontAngle','italic','fontname','Times New Roman');     %画字母O

text(handles.axes1,-30,90,'凹面反射镜','Linewidth',3,'fontsize',15,'color',[0 0 0]/255,'FontAngle','italic','fontname','MS Sans Serif'); %画标题“凹面反射镜”

text(handles.axes1,-250,90,'物方光线BC','Linewidth',3,'fontsize',15,'color',[0 0 0]/255,'FontAngle','italic','fontname','MS Sans Serif'); %画标题“物方光线BC”

text(handles.axes1,Ob_distance+2,7,'A','Linewidth',3,'fontsize',20,'color',[0 0 0]/255,'FontAngle','italic','fontname','Times New Roman');        %画 AB

text(handles.axes1,Ob_distance+2,45,'B','Linewidth',3,'fontsize',20,'color',[0 0 0]/255,'FontAngle','italic','fontname','Times New Roman'); 

text(handles.axes1,Im_distance+2,-5,'A^{,}','Linewidth',3,'fontsize',20,'color',[0 0 0]/255,'FontAngle','italic','fontname','Times New Roman');   %画 A'B'

text(handles.axes1,Im_distance+2,Im_height-5,'B^{,}','Linewidth',3,'fontsize',20,'color',[0 0 0]/255,'FontAngle','italic','fontname','Times New Roman'); 

axis equal;                                                  %划定显示窗口范围

ylim(handles.axes1,[-90 90]);

xlim(handles.axes1,[-260 0]);                  

axis off;

hold off;

function edit1_CreateFcn(hObject, eventdata, handles)

% hObject    handle to edit1 (see GCBO)

% eventdata  reserved - to be defined in a future version of MATLAB

% handles    empty - handles not created until after all CreateFcns called

% Hint: edit 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 pushbutton1.

function pushbutton1_Callback(hObject, eventdata, handles)

% hObject    handle to pushbutton1 (see GCBO)

% eventdata  reserved - to be defined in a future version of MATLAB

% handles    structure with handles and user data (see GUIDATA)

⛄ 运行结果

⛄ 参考文献

[1] XIONG Ze-ben, 熊泽本, ZHOU Xian-mei,等. 基于Matlab的光学衍射实验模拟[C]// 全国高等学校第十三届演示实验教学研讨会. ;全国高等学校物理演示实验教学研究会;;北京工业大学;;, 2017.

[2] 庄建, 青莉. 基于Matlab的光学实验仿真平台[J]. 成都大学学报:自然科学版, 2006, 25(1):3.

[3] 钱淑珍, 陈芳芳, 倪小芳,等. 基于Matlab的光学干涉现象仿真[J]. 科技视界, 2012, 000(001):19-20,22.

[4] 王志坚, 郑建平. 光学系统及元件动态下物象共轭理论[J]. 长春光学精密机械学院学报, 1992.

⛳️ 代码获取关注我

❤️部分理论引用网络文献,若有侵权联系博主删除

❤️ 关注我领取海量matlab电子书和数学建模资料

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Matlab科研辅导帮

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值