Location: cellLib @ 24f6dc8a57e8 / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2021-11-16 10:52:05+13:00
- Desc:
- Updae the plot function and delete the fit function. The fit function is moved to individual gate fitting process
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/6bc/rawfile/24f6dc8a57e8f60221d340e11ca44504cfb97758/BG_fit/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
