Location: cellLib @ b27a4d52ef8f / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-03-09 11:19:36+13:00
- Desc:
- Add fmol of channels
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/6bc/rawfile/b27a4d52ef8f83f5a662582f1b0c3ab89b72a469/BG_fit/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end