Location: BG_TCC @ b315defc7b02 / Kernik_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2024-11-06 10:29:14+13:00
- Desc:
- Adding exposure files:
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/831/rawfile/b315defc7b028a86f49daafe20f86ea3c827ce2e/Kernik_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
