Location: BG_CaB @ 4ce38babebe4 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-23 14:30:44+13:00
Desc:
Change CaB density. No lit proof
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82a/rawfile/4ce38babebe4cba4ca66ebdd3e63859886394b9a/matlab_parameter_fitting/square_error.m

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