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