Location: BG_Ks @ fbfa69a8b36b / parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-02-24 10:32:47+13:00
- Desc:
- Init
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82d/rawfile/fbfa69a8b36b675965eeab93973da6276c42496a/parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
