Location: cellLib @ d0fef299e91b / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-03-09 10:04:11+13:00
- Desc:
- expose q in C component and gate model to validate the states quantities
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/6bc/rawfile/d0fef299e91b00f5109c80457c21b96c6112fee6/BG_fit/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end