Location: BG_Kr @ 2a4b92f05900 / Knk_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-07 09:41:27+12:00
Desc:
Fixing Cm and refitting to Kernik19
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82c/rawfile/2a4b92f05900f2a4b8f8170861d2c165de1b0d01/Knk_matlab_parameter_fitting/square_error.m

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