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
arFitSome.m
% Fit only some model parameters ips
%
% arFitSome(ips, silent)
function arFitSome(ips, silent)
global ar
if(nargin<2)
silent = false;
end
qFitReset = ar.qFit + 0;
qDoFit = ismember(1:length(ar.p),ips);
ar.qFit(ar.qFit==1 & ~qDoFit) = 0;
try
arFit(silent);
catch err
ar.qFit = qFitReset;
error(err.message)
end
ar.qFit = qFitReset;