Location: BG_Kr @ 01ca9939f451 / Knk_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-05 11:27:05+12:00
- Desc:
- Changing Kr to be Kernik formulation
- Permanent Source URI:
- http://models.cellml.org/workspace/82c/rawfile/01ca9939f451cce92a9a5fc82a40f805b8fd0d6c/Knk_matlab_parameter_fitting/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end