Location: BG_An01 @ af298ae1cd9d / parameter_finder / square_error.m
- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2025-07-24 14:15:53+12:00
- Desc:
- Adding gating arg
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/d51/rawfile/af298ae1cd9d0e216224b5dcbce43b13ef032b65/parameter_finder/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
