Location: BG_funny @ aeabf9e2afa6 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-08 11:14:14+13:00
- Desc:
- fixing z args
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/838/rawfile/aeabf9e2afa6dfaaf6f6cbb199666b1577e09134/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
