Location: BG_funny @ 4e5bd27425f2 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-08 11:01:14+13:00
- Desc:
- RT to R*T
- Permanent Source URI:
- https://models.cellml.org/workspace/838/rawfile/4e5bd27425f28c4a496013721a6d20bdef891cf9/matlab_parameter_fitting/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end