Location: BG_to_channel @ dadd88283ed8 / Kernik_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2024-11-29 11:51:58+13:00
- Desc:
- Adding svg
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82e/rawfile/dadd88283ed8e8d1bbc08e5dbf44ba18e111f679/Kernik_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
