Location: cellLib @ 537e3bc704f3 / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2021-11-15 15:36:35+13:00
- Desc:
- Modify the option and layout of plots
- Permanent Source URI:
- https://models.cellml.org/workspace/6bc/rawfile/537e3bc704f362367cc841be142b6b7eaa6da9c6/BG_fit/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end