Location: BG_funny @ 496a317679e9 / Kernik_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2024-11-06 10:50:19+13:00
- Desc:
- Adding sedml
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/838/rawfile/496a317679e940fe2373b96b4c93c0891e94ddd4/Kernik_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
