Location: BG_funny @ 89cc5fecd6b2 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-07 15:18:05+13:00
- Desc:
- Rename q_mem contribution
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/838/rawfile/89cc5fecd6b2c8b4397ded330d73a7c890fd7d86/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
