Location: BG_TCC @ a127f18e7ac0 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-07 16:18:53+13:00
- Desc:
- fix I_mem
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/831/rawfile/a127f18e7ac0900c922a0fb24b0c9d028a599fbf/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
