Location: BG_TCC @ f9c0bddfc4fb / Kernik_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-28 10:21:44+12:00
Desc:
With new G_GHK from diff Ca concs
Permanent Source URI:
https://models.physiomeproject.org/workspace/831/rawfile/f9c0bddfc4fbc2314cac765c751170f29cd19085/Kernik_matlab_parameter_fitting/square_error.m

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