Location: BG_NCX @ d46d9bbd35fa / matlab_Pan_parameter_fitting / NCX_total_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2022-07-01 11:26:39+12:00
Desc:
Updating parameters for cell of volume 34.4 pL
Permanent Source URI:
https://models.physiomeproject.org/workspace/828/rawfile/d46d9bbd35fa105b9b9a0f2b43cc800e4592853a/matlab_Pan_parameter_fitting/NCX_total_error.m

function total_error = NCX_total_error(params_vec,struct_NCX_data)
total_error = error_Kimura_Nae(params_vec,struct_NCX_data.Kimura_Nae) ...
    + error_Kimura_Cae(params_vec,struct_NCX_data.Kimura_Cae) ...
    + error_BW(params_vec,struct_NCX_data.BW);

% struct_input = struct('Nai',0,...
%     'Cae',1,...
%     'Cai',430e-6,...
%     'V',-0.11,...
%     'Nae',140);
% 
% total_error = total_error + (NCX_vss_fitting(params_vec,struct_input,1)-1000)^2;
end