Location: BG_Kr @ 8728af65931b / matlab_parameter_finding / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-29 09:00:14+13:00
- Desc:
- Fixing units in cellml, and therefore channel density
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82c/rawfile/8728af65931b5ca7821acc7c86f9c9bb021087b8/matlab_parameter_finding/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
