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