Location: BG_Kr @ 4945aae885e1 / matlab_parameter_finding / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-14 16:07:11+13:00
Desc:
rename folder
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82c/rawfile/4945aae885e146525d9aa58580b3a20cbf8caef5/matlab_parameter_finding/square_error.m

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