Location: BG_TCC @ 5e93ab5d40ab / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-03 10:20:06+13:00
- Desc:
- Changing Xi to X_i, and adding python param finder code
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/831/rawfile/5e93ab5d40abbb9f027e127ade701534c1867167/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
