Location: BG_Kr @ 4b67713e245c / matlab_parameter_finding / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-01 14:23:16+13:00
Desc:
With new densities found from fitting Pan - K + Kr to Clancy model
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82c/rawfile/4b67713e245c22dcfb7786ae629de4c86f4819fa/matlab_parameter_finding/square_error.m

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