Location: cellLib @ 7dbe7fa767e2 / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-05-04 14:00:49+12:00
- Desc:
- rewrite the modelValidation as function
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/6bc/rawfile/7dbe7fa767e2f7dcfe1f7a7421ae4cafeeece2a9/BG_fit/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
