Location: BG_Kr @ b47647457ed5 / BG_fit_parameters_CC / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-08 09:52:39+13:00
- Desc:
- Various formatting changes
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82c/rawfile/b47647457ed574ad590d438289d4ff541910941e/BG_fit_parameters_CC/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
