Location: BG_funny @ 2b91f47a5a9f / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-07 10:34:57+13:00
- Desc:
- Rename gate states
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/838/rawfile/2b91f47a5a9fbb8d860a338e4d8d974c1a74e650/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
