Location: cellLib @ 19a84bba8e35 / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2021-11-15 14:41:31+13:00
- Desc:
- correct the plot function
- Permanent Source URI:
- https://models.cellml.org/workspace/6bc/rawfile/19a84bba8e353d39457b67083980475bf9e140ed/BG_fit/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end