Code covered by the BSD License
-
Z=combinations(a,b);
function Z=combinations(a,b);
-
[bins,np]=corrint(y,de,tau,nb...
-
[chsq,prob,nu]=chisq(b1,b2,nu...
-
[d,i]=nearneigh(X,tau,blocksi...
function [d,i]=nearneigh(X,tau,blocksize)
-
[m,d,k,s,gki]=gka(y,de,tau,nb...
-
[m,dcm,eps0,cim]=judd(y,de,ta...
-
e=rms(y);
-
embed(z,v,w)
-
fit=gka_dks(xi,phi,m,tau,band...
function fit=gka_dks(xi,phi,m,tau,bands,gki,ss);
-
fit=gka_dsb(xi,m,bands,gki,ss...
function fit=gka_dsb(xi,m,bands,gki,ss);
-
fit=gka_kphi(xi,b,m,tau);
function fit=gka_kphi(xi,b,m,tau);
-
fit=judd_da(xi,eps,ci);
function fit=gka_dks(xi,eps,ci);
-
normalize(v)
-
p=plotmat3(x1,x2,x3,x4,x5,x6,...
-
plotcols(x1,x2,x3,x4,x5,x6,x7...
-
plotmat(x1,x2,x3,x4,x5,x6,x7,...
-
qrdelete(Q,R,j,orient)
QRDELETE Delete a column or row from QR factorization.
-
rms=compare(y,n,m);
%Michael Small
-
syntax(filename)
function syntax(filename)
-
time_to_die(after,before);
function time_to_die(after);
-
trace(p1,p2)
-
x=mov_av(y,k);
-
y=gkifit(d,s,b,m,bands);
-
y=judd_fit(d,a,eps);
-
z=nnn(x,n);
-
interbin.m
-
interbinref.m
-
interpoint.m
-
nearest.m
-
newseed.m
-
reseed.m
-
test.m
-
View all files
from
Correlation dimension
by Peng Yuehua
Correlation dimension estimation code.
|
| trace(p1,p2) |
function [level,is_on] = trace(p1,p2)
% [level,is_on] = trace(...)
% set or examine the global trace variable
%
% Setting trace:
% trace('on') & trace('off') turn tracing on or off & does not change level
% trace(level) sets the trace level and does not change whether on or off
% trace('on',level) etc.. sets level and on/off (args can be any order)
%
% Examining trace
% 0 or 1 outputs return level if tracing is on, [] if off
% 2 outputs returns level and is_on = 1 if tracing is on and 0 if off
%
% Note: When a session starts tracing is off and the level is []
% This means when tracing is first turned on the level must
% also be set for tracing to come into effect
% Copyright (c) 1994 by Kevin Judd.
% Please see the copyright notice included
% in this distribution for full details.
%
% NAME trace.m
% $Id$
global trace_level;
global trace_is_on;
for i=1:nargin
p= eval(['p' num2str(i)]);
if isstr(p)
trace_is_on= strcmp(p,'on') | strcmp(p,'On');
else
trace_level= p;
end;
end;
if nargout<2
if trace_is_on
level= trace_level;
else
level=0;is_on=0; %need this for picky matlab5
end;
else
level= trace_level;
is_on= trace_is_on;
end;
|
|
Contact us at files@mathworks.com