Location: BG_funny @ 3c48323a79a0 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-07 15:28:10+13:00
- Desc:
- fix equation for q_mem
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/838/rawfile/3c48323a79a0c3eb60bcf793fa09fab3ac4c6051/matlab_parameter_fitting/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end