Location: BG_CaB @ f0dfdbe97a59 / K_kappa_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-02-23 14:45:41+13:00
- Desc:
- Changing where Vmem is calcd
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82a/rawfile/f0dfdbe97a5945f872c2b31a5e41963e7f9e862d/K_kappa_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
