Location: cellLib @ b9349882e91c / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-07-12 17:07:46+12:00
- Desc:
- Add double pulses for conditioning
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/6bc/rawfile/b9349882e91c6b0516cdab946180831851c89360/BG_fit/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
