Location: BG_fast_Na @ 70e675b7b8af / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2024-11-08 10:24:21+13:00
- Desc:
- fix error
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/826/rawfile/70e675b7b8af2e14572beca493704b180f864c41/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
