Location: cellLib @ 389a65e6b05f / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-04-28 10:16:25+12:00
- Desc:
- Add writePara.m for documentation
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/6bc/rawfile/389a65e6b05f56b571eae0673c8f089214440681/BG_fit/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
