Location: BG_NSCC @ c99c48f7ce65 / parameter_finder / square_error.m
- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2025-08-04 14:42:24+12:00
- Desc:
- uptdating diag with key
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/d54/rawfile/c99c48f7ce65ae1b862a6662092ef9daac971a2a/parameter_finder/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
