Location: BG_to_channel @ 489716b34988 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-08 11:05:45+13:00
- Desc:
- RT to R*T
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82e/rawfile/489716b349889ab3e9959e158e267d25fe9af527/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
