Location: cellLib @ 701e8cebe4ae / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-05-17 17:36:49+12:00
- Desc:
- Make a correction
- Permanent Source URI:
- https://models.fieldml.org/workspace/6bc/rawfile/701e8cebe4ae7dde52fcefc1ea27c2fb6b39fdee/BG_fit/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end