資源簡(jiǎn)介
通過(guò)對(duì)基礎(chǔ)光學(xué)現(xiàn)象的仿真,進(jìn)一步了解光學(xué)現(xiàn)象的原理,并為進(jìn)一步做復(fù)雜的光學(xué)工程的數(shù)學(xué)建模和分析仿真做好基礎(chǔ)。仿真工具為MATLAB仿真軟件,m代碼編寫(xiě)。

代碼片段和文件信息
function?varargout?=?bianyi2(varargin)
%?BIANYI2?M-file?for?bianyi2.fig
%??????BIANYI2?by?itself?creates?a?new?BIANYI2?or?raises?the?existing
%??????singleton*.
%
%??????H?=?BIANYI2?returns?the?handle?to?a?new?BIANYI2?or?the?handle?to
%??????the?existing?singleton*.
%
%??????BIANYI2(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?BIANYI2.M?with?the?given?input?arguments.
%
%??????BIANYI2(‘Property‘‘Value‘...)?creates?a?new?BIANYI2?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?bianyi2_OpeningFunction?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?bianyi2_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
%?Copyright?2002-2003?The?MathWorks?Inc.
%?Edit?the?above?text?to?modify?the?response?to?help?bianyi2
%?Last?Modified?by?GUIDE?v2.5?24-Jun-2008?01:20:01
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
????‘gui_Singleton‘??gui_Singleton?...
????‘gui_OpeningFcn‘?@bianyi2_OpeningFcn?...
????‘gui_OutputFcn‘??@bianyi2_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
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
function?bianyi2_OpeningFcn(hobject?eventdata?handles?varargin)
%?This?function?has?no?output?args?see?OutputFcn.
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?varargin???command?line?arguments?to?bianyi2?(see?VARARGIN)
clc
%?set(handles.figure1‘Position‘[20?20?170?40.154]);
R01=linspace(0140);?????%黑---紅
G01=linspace(0040);
B01=linspace(0040);
R12=linspace(1140);?????%紅---橙
G12=linspace(00.540);
B12=linspace(0040);
R23=linspace(1120);?????%橙---黃
G23=linspace(0.5120);
B23=linspace(0020);
R34=linspace(1015);?????%黃---綠
G34=linspace(1115);
B34=linspace(0015);
R45=linspace(0025);?????%綠---青
G45=linspace(1125);
B45=linspace(0125);
R56=linspace(0015);?????%青---藍(lán)
G56=linspace(1015);
B56=linspace(1115);
R67=linspace(00.6725);?????%藍(lán)---紫
G67=linspace(0025);
B67=linspace(1125);
R78=linspace(0.67021);?????%紫---黑
G78=linspace(0021);
B78=linspace(1021);
handles.col=[R01?R12?R23?R34?R45?R56?R67?R78;G01?G12?G23?G34?G45?G56?G67?G78;B01?B12?B23?B34?B45?B56
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????201186??2008-08-14?11:38??08.8.13.2畢業(yè)論文\001.bmp
?????文件?????188538??2008-08-14?11:38??08.8.13.2畢業(yè)論文\002.bmp
?????文件?????165366??2008-08-14?11:38??08.8.13.2畢業(yè)論文\003.bmp
?????文件?????158086??2008-08-14?11:38??08.8.13.2畢業(yè)論文\004.bmp
?????文件?????151926??2008-08-14?11:38??08.8.13.2畢業(yè)論文\005.bmp
?????文件?????195210??2008-08-14?11:38??08.8.13.2畢業(yè)論文\006.bmp
?????文件?????196326??2008-08-14?11:38??08.8.13.2畢業(yè)論文\007.bmp
?????文件?????204678??2008-08-14?11:38??08.8.13.2畢業(yè)論文\008.bmp
?????文件??????30984??2008-08-14?11:38??08.8.13.2畢業(yè)論文\bianyi2.asv
?????文件?????107836??2008-08-14?11:38??08.8.13.2畢業(yè)論文\bianyi2.fig
?????文件??????32650??2009-01-06?00:45??08.8.13.2畢業(yè)論文\bianyi2.m
?????文件????1472632??2008-08-14?11:38??08.8.13.2畢業(yè)論文\fm.bmp
?????文件????1472632??2008-08-14?11:38??08.8.13.2畢業(yè)論文\xc.bmp
?????文件?????501606??2008-08-14?11:38??08.8.13.2畢業(yè)論文\光柵衍射.bmp
?????文件?????344706??2008-08-14?11:38??08.8.13.2畢業(yè)論文\單縫衍射.bmp
?????文件?????273548??2008-08-14?11:38??08.8.13.2畢業(yè)論文\雙點(diǎn)光源干涉.bmp
?????文件?????289494??2008-08-14?11:38??08.8.13.2畢業(yè)論文\圓孔衍射.bmp
?????文件?????434202??2008-08-14?11:38??08.8.13.2畢業(yè)論文\楊氏雙縫干涉.bmp
?????文件?????733082??2008-08-14?11:38??08.8.13.2畢業(yè)論文\牛頓環(huán).bmp
?????文件?????413276??2008-08-14?11:38??08.8.13.2畢業(yè)論文\等厚干涉.bmp
?????文件????1113656??2008-08-14?11:38??08.8.13.2畢業(yè)論文\邁克爾遜等傾干涉.bmp
?????文件????????152??2008-10-18?05:14??08.8.13.2畢業(yè)論文\src\s.def
?????文件????????137??2008-10-18?05:14??08.8.13.2畢業(yè)論文\src\s.rc
?????文件????????578??2008-10-18?05:14??08.8.13.2畢業(yè)論文\src\sclass_com.cpp
?????文件????????517??2008-10-18?05:14??08.8.13.2畢業(yè)論文\src\sclass_com.hpp
?????文件???????2881??2008-10-18?05:14??08.8.13.2畢業(yè)論文\src\s_dll.cpp
?????文件???????1042??2008-10-18?05:14??08.8.13.2畢業(yè)論文\src\s_idl.idl
?????目錄??????????0??2009-03-07?10:36??08.8.13.2畢業(yè)論文\src\s
?????目錄??????????0??2009-03-07?10:36??08.8.13.2畢業(yè)論文\distrib
?????目錄??????????0??2009-03-07?10:36??08.8.13.2畢業(yè)論文\src
............此處省略4個(gè)文件信息
評(píng)論
共有 條評(píng)論