Location: cellLib @ 71a79f4273eb / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-04-22 10:49:38+12:00
- Desc:
- Remove interactive labeling; Specify index when using intersect to avoid order errors add buildComponents.m to wrap multiple building processes;
- Permanent Source URI:
- https://models.fieldml.org/workspace/6bc/rawfile/71a79f4273ebfe232057a071766138694777ab84/BG_fit/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end