Location: BG_Na_background @ a394b3de9d37 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-27 10:18:51+12:00
- Desc:
- Fix G_GHK with KnK conductance
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82b/rawfile/a394b3de9d37f654c2a9256b6b350de71c6d08ba/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
