Location: BG_Na_background @ 7e1c964aca71 / GHK_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-02-23 14:46:22+13:00
- Desc:
- Init
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82b/rawfile/7e1c964aca719607969f0f83e965a41daf71dde5/GHK_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
