資源簡介
這是我早先寫的一個關于分數階負反饋控制系統的東西,本來是為老師的CtrlLAB寫的。后來也沒用上,現在翻了出來,和大家共享一下。最主要是可以使用里面的關于分數階的一個類叫fotf。
簡要說明,可參看:http://peng-jun.blog.163.com/blog/static/215628142009319111637409/

代碼片段和文件信息
function?varargout?=?ctrllab_foc(varargin)
%?CTRLLAB_FOC?M-file?for?ctrllab_foc.fig
%??????CTRLLAB_FOC?by?itself?creates?a?new?CTRLLAB_FOC?or?raises?the?existing
%??????singleton*.
%
%??????H?=?CTRLLAB_FOC?returns?the?handle?to?a?new?CTRLLAB_FOC?or?the?handle?to
%??????the?existing?singleton*.
%
%??????CTRLLAB_FOC(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?CTRLLAB_FOC.M?with?the?given?input?arguments.
%
%??????CTRLLAB_FOC(‘Property‘‘Value‘...)?creates?a?new?CTRLLAB_FOC?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?ctrllab_foc_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?ctrllab_foc_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?ctrllab_foc
%?Last?Modified?by?GUIDE?v2.5?13-Mar-2008?20:27:24
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@ctrllab_foc_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@ctrllab_foc_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?ctrllab_foc?is?made?visible.
function?ctrllab_foc_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?ctrllab_foc?(see?VARARGIN)
%?Choose?default?command?line?output?for?ctrllab_foc
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?ctrllab_foc?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.ctrllab_foc);
ctrllab_foc_funs(6handles[]);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?ctrllab_foc_OutputFcn(hobject?eventdata?handles)?
%?varargout??cell?array?for?returning?output?args?(see?VARARGOUT);
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?Get?default?command?line?output?from?handles?structure
varargout{1}?=?handles.output;
%?--------------------------------------------------------------------
function?menu_file_Callback(hO
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????347??2008-01-01?20:38??CtrlLAB\@fotf\bode.asv
?????文件????????347??2008-01-01?20:40??CtrlLAB\@fotf\bode.m
?????文件????????614??2007-09-30?16:15??CtrlLAB\@fotf\display.m
?????文件????????215??2008-01-01?20:33??CtrlLAB\@fotf\eq.asv
?????文件????????249??2008-01-01?20:34??CtrlLAB\@fotf\eq.m
?????文件????????265??2007-09-14?13:07??CtrlLAB\@fotf\feedback.m
?????文件????????333??2007-12-30?18:58??CtrlLAB\@fotf\fotf.m
?????文件????????237??2007-09-27?22:02??CtrlLAB\@fotf\glfdiff.m
?????文件????????460??2007-10-01?10:30??CtrlLAB\@fotf\lsim.m
?????文件????????217??2008-01-01?20:32??CtrlLAB\@fotf\mrdivide.m
?????文件????????236??2007-09-14?13:04??CtrlLAB\@fotf\mtimes.m
?????文件?????????41??2007-10-15?15:55??CtrlLAB\@fotf\nichols.asv
?????文件????????351??2007-10-15?15:58??CtrlLAB\@fotf\nichols.m
?????文件????????351??2007-10-06?09:59??CtrlLAB\@fotf\nyquist.m
?????文件???????1046??2008-03-12?14:51??CtrlLAB\@fotf\oustafod_appro.asv
?????文件????????984??2008-03-12?14:58??CtrlLAB\@fotf\oustafod_appro.m
?????文件????????293??2007-09-14?13:01??CtrlLAB\@fotf\plus.m
?????文件?????????91??2008-03-11?19:27??CtrlLAB\@fotf\step.asv
?????文件?????????91??2008-03-11?19:28??CtrlLAB\@fotf\step.m
?????文件????????286??2008-03-02?16:16??CtrlLAB\@fotf\subsref.m
?????文件????????350??2007-09-14?13:15??CtrlLAB\@fotf\unique.m
?????文件????????213??2008-03-02?15:01??CtrlLAB\@tf\tf2fotf.m
?????文件??????15267??2007-11-16?14:43??CtrlLAB\close_loop_negative.jpg
?????文件??????12755??2008-03-14?13:19??CtrlLAB\ctrllab_foc.fig
?????文件??????25922??2008-03-14?13:20??CtrlLAB\ctrllab_foc.m
?????文件??????17729??2008-03-14?12:56??CtrlLAB\ctrllab_foc_funs.m
?????文件????????262??2007-10-01?10:32??CtrlLAB\oustafod.m
?????文件???????8897??2008-03-14?13:55??CtrlLAB\pid_foc.fig
?????文件??????17288??2008-03-08?14:56??CtrlLAB\pid_foc.JPG
?????文件??????19480??2008-03-12?16:39??CtrlLAB\pid_foc.m
............此處省略13個文件信息
評論
共有 條評論