Location: BG_CaB @ 74b613c5d19d / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-07 16:02:11+13:00
- Desc:
- fix I_mem
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82a/rawfile/74b613c5d19d81b59c1dea3d924379297fd0dfab/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
