Location: BG_BK @ 266f8c20e022 / parameter_finder / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2025-08-01 14:03:22+12:00
Desc:
Removing gBK as it is unused here
Permanent Source URI:
https://staging.physiomeproject.org/workspace/d47/rawfile/266f8c20e0222c31d79e1abd2a7985a9ff0a588e/parameter_finder/square_error.m

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