Professional Documents
Culture Documents
Wrapper For Tisean
Wrapper For Tisean
Wrapper For Tisean
%
% Purpose:
% Simple MATLAB wrapper for TISEAN
%
% Input
% tiscmd - character array of TISEAN command name
% tisparms - character array of TISEAN parameters
% y - vector input
%
% Effects:
% Returns output of TISEAN command
%
% Usage examples
%
% r1 = tis('lzo-run','-m1,4 -d8 -L200 -V0',amplitude(1:end-200));
% r1 = tis('henon','-B0 -A1.43 -l1000');
% r1 = tis('xzero',['-m3 -d1 -k2 -s20 -V1 -s',num2str(npreds)],z);
%
% This code probably won't work for all TISEAN commands.
% Please adapt as necessary.
%
% (c) 2009 Paul Moore - moorep@maths.ox.ac.uk
%
% This software is provided 'as is' with no warranty or other guarantee of
% fitness for the user's purpose. Please let the author know of any bugs
% or potential improvements.
MAXCOLS = 16;
ythere = nargin == 3;
infn = 'tempin001.txt';
outfn = 'tempout001.dat';
delete (outfn);
if (ythere)
delete (infn);
1 of 2 6/17/2012 12:58 AM
http://people.maths.ox.ac.uk/moorep/tis.m
if ~isnan(ri(1))
result(:,i) = ri;
end
end
if (ythere)
delete (infn);
end
%delete (outfn);
end
2 of 2 6/17/2012 12:58 AM