Location: cellLib @ 4d87e24edb37 / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-08-02 19:00:05+12:00
- Desc:
- Add BG paras_conv.m
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/6bc/rawfile/4d87e24edb3731b3379a42ab58e90c4c1c0a7f7b/BG_fit/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
