Location: BG_funny @ 9f3a5e0aeb75 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-11 13:49:29+13:00
- Desc:
- Fixing gate fitting bug
- Permanent Source URI:
- https://models.cellml.org/workspace/838/rawfile/9f3a5e0aeb753330ddb27c79e24899baced5b401/matlab_parameter_fitting/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end