https://github.com/Data2Dynamics/d2d
Tip revision: d72d4c223fb8adc0e3e44a1d3d1eafce18b995ae authored by Andreas Raue on 06 March 2015, 00:17:07 UTC
Increase C version code, after Joep's submits today to prevent compatibility problems
Increase C version code, after Joep's submits today to prevent compatibility problems
Tip revision: d72d4c2
arFitInit.m
% Fit only initial values parameters
%
% arFitInit(silent)
function arFitInit(silent)
global ar
if(nargin==0)
silent = false;
end
qFitReset = ar.qFit + 0;
ar.qFit(ar.qFit==1 & ar.qInitial==0) = 0;
try
arFit(silent);
catch err
ar.qFit = qFitReset;
error(err.message)
end
ar.qFit = qFitReset;