Location: BG_Ks @ ef4b8640984c / Clancy_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-08 14:02:01+12:00
Desc:
Fitting to kinetic hybrid model of LRd + Kernik
Permanent Source URI:
https://models.physiomeproject.org/workspace/82d/rawfile/ef4b8640984c620ac0534355377346919cffdeb6/Clancy_matlab_parameter_fitting/square_error.m

function result = square_error(vector)
    if ~iscolumn(vector)
        vector = transpose(vector);
    end
    result = transpose(vector)*vector;
end