Location: BG_to_channel @ 1fb000a5cf2d / Kernik_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2024-11-12 10:57:09+13:00
- Desc:
- Updating cellml and sedml
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82e/rawfile/1fb000a5cf2d6895c9c41e37dbe0565db663ea67/Kernik_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
