Location: BG_K_ATP @ fe517be0d80e / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-29 13:31:02+13:00
- Desc:
- With channel density checked using patch clamp against kinetic model
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/83a/rawfile/fe517be0d80e2e53c6e08b168d460f7e5065d10a/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
