Location: BG_Ks @ 8e195506cb9c / Clancy_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-21 16:25:46+12:00
- Desc:
- Reformulate gate states and reaction scheme
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82d/rawfile/8e195506cb9c2ff8353448eba47f2e9bc20c31b8/Clancy_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
