Location: BG_K @ e83d3342906c / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-14 15:35:48+12:00
Desc:
Scaling number of gating variables by new SA
Permanent Source URI:
https://staging.physiomeproject.org/workspace/823/rawfile/e83d3342906c16ff8a3830c2dd77957249c62495/matlab_parameter_fitting/square_error.m

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