Location: BG_Ks @ bc50b1411a4f / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-07 13:13:03+13:00
- Desc:
- Rename comp
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82d/rawfile/bc50b1411a4fd1a66840d0959e84100718d1c485/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
