資源簡(jiǎn)介
想學(xué)分岔而又不會(huì)編程寫分岔程序的人,這個(gè)文件是你最好的選擇。

代碼片段和文件信息
function?varargout?=?cplanim(xvsvarargin)
%
%?plots?computed?curve:?cpl(xvs)
%?dim(x)?=?2?or?3
%
if?nargin?>?3
??x?=?x(varargin{1}:);
??v?=?v(varargin{1}:);
end
[dimstop]=size(x);
watchon;
switch?dim
??case?2
????res=cpl2d(xvs);
??case?3
????res=cpl3d(xvs);
??otherwise
????error(‘This?dimension?is?not?supported‘);
end
watchoff;
function?res?=?cpl2d(xvs)
line(x(1:)x(2:)‘linestyle‘‘-‘‘color‘‘b‘);
xindex=cat(1s.index);
xindex=xindex(2:end-1);
line(x(1xindex)x(2xindex)‘linestyle‘‘.‘‘color‘‘r‘);
%%line(x(1cat(1s.index))x(2cat(1s.index))‘linestyle‘‘.‘‘color‘‘r‘);?%%
d=axis;
if?size(s1)~=2
????skew?=?0.03*[d(2)-d(1)?d(4)-d(3)];
????xindex=cat(1s.index);
????xindex=xindex(2:end-1);
????s(1).label=‘‘;?s(end).label=‘‘;?
????text(?x(1xindex)+skew(1)x(2xindex)+skew(2)?cat(1s.label));
end
res?=2;
function?res?=?cpl3d(xvs)
view(3);
line(x(1:)x(2:)x(3:)‘linestyle‘‘-‘‘color‘‘b‘);
line(x(1cat(1s.index))x(2cat(1s.index))x(3cat(1s.index))‘linestyle‘‘.‘‘color‘‘r‘);?%*
d=axis;
if?size(s1)~=2
????skew?=?0.03*[d(2)-d(1)?d(4)-d(3)?d(6)-d(5)];
????xindex=cat(1s.index);
????xindex=xindex(2:end-1);
????s(1).label=‘‘;?s(end).label=‘‘;
????text(?x(1xindex)+skew(1)x(2xindex)+skew(2)?x(3xindex)+skew(3)?cat(1s.label));
???
end
res?=3;
%SD:plots?the?2d?or?3d?curve
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????1393??2010-02-10?17:35??matcont3p1\cpl.m
?????文件???????1724??2011-08-26?10:30??matcont3p1\init.m
?????文件????????289??2011-08-30?08:23??matcont3p1\Testruns\cstr1.m
?????文件????????503??2011-08-30?08:41??matcont3p1\Testruns\cstr2.m
?????文件????????933??2011-08-30?09:18??matcont3p1\Testruns\cstr3.m
?????文件????????634??2011-08-29?14:55??matcont3p1\Testruns\fold1.m
?????文件????????867??2011-08-30?10:36??matcont3p1\Testruns\homoc1.m
?????文件????????388??2011-08-22?15:54??matcont3p1\Testruns\testadapt.m
?????文件???????1085??2011-08-22?15:56??matcont3p1\Testruns\testadapt1.m
?????文件????????551??2011-08-22?16:38??matcont3p1\Testruns\testadapt2.m
?????文件????????519??2011-08-26?11:32??matcont3p1\Testruns\testadapt3.m
?????文件???????1209??2006-03-16?15:29??matcont3p1\Testruns\testmyml.m
?????文件???????1083??2011-08-26?12:56??matcont3p1\Testruns\testmymlPRC.m
?????文件????????430??2007-04-05?13:56??matcont3p1\Testruns\testselect.m
?????文件????????533??2011-08-29?13:27??matcont3p1\Testruns\testtorBPC1.m
?????文件????????932??2011-08-29?13:46??matcont3p1\Testruns\testtorBPC2.m
?????文件???????1170??2011-08-29?15:06??matcont3p1\Testruns\testtorBPC3.m
?????文件????????215??2011-08-30?09:37??matcont3p1\Testruns\testtorBPC4.m
?????文件????????551??2011-08-30?09:52??matcont3p1\Testruns\testtorBPC5.m
?????文件????????768??2011-08-30?10:01??matcont3p1\Testruns\testtorBPC6.m
?????文件????????746??2011-08-30?10:08??matcont3p1\Testruns\testtorBPC7.m
?????文件???????1872??2011-08-22?14:58??matcont3p1\Systems\adapt.m
?????文件???????2028??2011-08-22?08:01??matcont3p1\Systems\bratu.m
?????文件???????1867??2006-12-19?13:19??matcont3p1\Systems\bratu2.m
?????文件???????2726??2003-12-08?14:15??matcont3p1\Systems\bruss.m
?????文件???????3539??2006-12-19?13:19??matcont3p1\Systems\catalytic.m
?????文件???????7320??2011-08-30?08:07??matcont3p1\Systems\cstr.m
?????文件???????1090??2006-12-19?13:26??matcont3p1\Systems\curve.m
?????文件???????3918??2006-12-19?13:18??matcont3p1\Systems\MLfast.m
?????文件???????3135??2006-12-19?13:18??matcont3p1\Systems\MyML.m
............此處省略503個(gè)文件信息
評(píng)論
共有 條評(píng)論