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
arFitSingle.m
% Fit single parameter
%
% arFitSingle(j, silent)
function arFitSingle(j, silent)
global ar
if(nargin==0)
silent = false;
end
qFitReset = ar.qFit + 0;
ar.qFit(ar.qFit==1) = 0;
ar.qFit(j) = 1;
try
arFit(silent);
catch err
ar.qFit = qFitReset;
error(err.message)
end
ar.qFit = qFitReset;