Location: BG_funny @ 60ceabbf4b0d / Kernik_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2024-11-06 10:57:15+13:00
- Desc:
- Fixing text
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/838/rawfile/60ceabbf4b0df7dd6b375b7d6924f6acad6f6caa/Kernik_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
