Location: cellLib @ c05a1749b300 / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-05-03 15:18:13+12:00
- Desc:
- Seperate the setlim for plotExp.py; Update readme.txt
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/6bc/rawfile/c05a1749b3003de5c15cc530b579b4671106b978/BG_fit/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
