Location: BG_CaB @ a02528d050d0 / matlab_parameter_fitting / square_error.m

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

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