Location: BG_CaB @ 0f031d7cc965 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-27 10:31:40+12:00
Desc:
With updated G_GHK from Knk dimensions
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82a/rawfile/0f031d7cc9653fc24107eb078f602342915b4e61/matlab_parameter_fitting/square_error.m

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