Location: cellLib @ 5c9a08d90f97 / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-06-03 12:56:31+12:00
- Desc:
- Add E_Cl and Xi_cal
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/6bc/rawfile/5c9a08d90f97d43c13faf09e96d62d896b2a5d2d/BG_fit/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end