Location: BG_to_channel @ 0328293cbfb4 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-14 16:30:13+13:00
- Desc:
- Changing Cm to be equal to Pan value, which is physiological. Not Clancy01 value
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82e/rawfile/0328293cbfb4d0626024c6bb319e00a3a0da5f7e/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
