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