Location: BG_K @ ca80ea3bb1f5 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-13 11:20:35+12:00
- Desc:
- With adjusted A_geo in matlab code, and new parameters fitting Kernik cell
- Permanent Source URI:
- https://models.cellml.org/workspace/823/rawfile/ca80ea3bb1f5e21fbf2b123193f5917598ce817c/matlab_parameter_fitting/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end