資源簡介
采用Matlab編制了一個GUICT圖像處理的小工具,兩個文件一個m文件,一個Fig文件

代碼片段和文件信息
function?varargout?=?untitled(varargin)
%?UNtitleD?MATLAB?code?for?untitled.fig
%??????UNtitleD?by?itself?creates?a?new?UNtitleD?or?raises?the?existing
%??????singleton*.
%
%??????H?=?UNtitleD?returns?the?handle?to?a?new?UNtitleD?or?the?handle?to
%??????the?existing?singleton*.
%
%??????UNtitleD(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?UNtitleD.M?with?the?given?input?arguments.
%
%??????UNtitleD(‘Property‘‘Value‘...)?creates?a?new?UNtitleD?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?untitled_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?untitled_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?untitled
%?Last?Modified?by?GUIDE?v2.5?15-Jan-2019?22:42:59
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@untitled_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@untitled_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?just?before?untitled?is?made?visible.
function?untitled_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?untitled?(see?VARARGIN)
%?Choose?default?command?line?output?for?untitled
handles.output?=?hobject;
global?xlong?ylong?zlong
xlong?=?200;
ylong?=?200;
zlong?=?200;
axes(handles.axes1)
cla?reset?
[xy]=meshgrid(1:xlong);
axis([0xlong0ylong0zlong]);
hold?on;
box?on;
colormap(gray)
view(-37.530);
x1=xlabel(‘X軸‘);???????%?#x軸標(biāo)題
x2=ylabel(‘Y軸‘);???????%?#y軸標(biāo)題
x3=zlabel(‘Z軸‘);???????%?#z軸標(biāo)題
set(x1‘Rotation‘30);??%??#x軸名稱旋轉(zhuǎn)
set(x2‘Rotation‘-30);?%???#y軸名稱旋轉(zhuǎn)
axes(handles.axes2)
cla?reset?
[xy]=meshgrid(1:xlong);
axis([0xlong0ylong0zlong]);
hold?on;
box?on;
colormap(gray)
view(-37.530);
x1=xlabel(‘X軸‘);???????%?#x軸標(biāo)題
x2=ylabel(‘Y軸‘);???????%?#y軸標(biāo)題
x3=zlabel(‘Z軸‘);???????%?#z軸標(biāo)題
set(x1‘Rotation‘30);??%??#x軸名稱旋轉(zhuǎn)
set(x2‘Rotation‘-30);?%???#y軸名稱旋轉(zhuǎn)
axes(handles.axes3)
cla?reset?
[xy]=meshgrid(1:xlong);
axis([0xlong0ylong0zlong]);
hold?on;
box?on;
colormap(gray)
view(-37.53
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-01-19?14:57??CT\
?????文件???????69799??2019-01-16?20:02??CT\unti
?????文件???????31016??2019-01-16?22:12??CT\unti
- 上一篇:自抗擾仿真
- 下一篇:六自由度機(jī)械臂正逆運(yùn)動Matlab仿真
評論
共有 條評論