Location: cellLib @ 1d2494717f1d / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2021-11-29 09:27:09+13:00
- Desc:
- Add mA and nA
- Permanent Source URI:
- https://models.cellml.org/workspace/6bc/rawfile/1d2494717f1da39ce32aa1ffb518cb681ea91c1c/BG_fit/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end