Location: BG_funny @ 56c726cc1871 / Kernik_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-20 10:45:58+12:00
- Desc:
- Fixing number of gate particles and storing in comp environment
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/838/rawfile/56c726cc1871d445655ddaa8db6c193fc6d38f39/Kernik_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
