Location: BG_CaB @ b85024b899c7 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-06 15:57:39+12:00
Desc:
Fixing Cm and refitting to Kernik19
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82a/rawfile/b85024b899c704cb3c802c98252a34254d4525f7/matlab_parameter_fitting/square_error.m

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