Location: BG_to_channel @ 98ed3e99e2f4 / Clancy_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-06 11:05:17+12:00
- Desc:
- Caps
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82e/rawfile/98ed3e99e2f420373ef8b1ee911b1f85fa83225f/Clancy_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
