Location: BG_to_channel @ 291b34701e05 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-07 13:17:18+13:00
- Desc:
- Rename comp
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82e/rawfile/291b34701e0544d50332c78d38f8b23e315d91b8/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
