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