Location: BG_funny @ b53878949c4e / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-11 13:49:51+13:00
- Desc:
- Updating parameters
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/838/rawfile/b53878949c4e3358ae8043a7632c753b2b1103a3/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
