Location: BG_Ks @ 6ca9cbf971a3 / Clancy_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2024-11-12 11:16:41+13:00
- Desc:
- Updating cellml and sedml
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82d/rawfile/6ca9cbf971a30a2b5d74e93b0f3cdc816b065680/Clancy_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
