Location: cellLib @ fcf6cb1102d2 / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-03-17 11:36:50+13:00
- Desc:
- Add simExp function
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/6bc/rawfile/fcf6cb1102d225300a8cb8f2da0bf15c8a0a314a/BG_fit/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
