Location: BG_CaL @ c242f2bb2d71 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-13 16:23:02+12:00
- Desc:
- fix par names
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/6d7/rawfile/c242f2bb2d71bea29b1f1d061215fb0401f598ca/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
