Location: BG_K1_uterine @ 32386e6d968f / parameter_finder / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2025-08-14 14:47:50+12:00
Desc:
add pics. Rename gating to activation
Permanent Source URI:
https://staging.physiomeproject.org/workspace/d57/rawfile/32386e6d968ffd6099ef50267e3d7fde9d67dde4/parameter_finder/square_error.m

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