Location: BG_Ks @ 699fd37203f7 / Clancy_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-08 14:18:39+12:00
- Desc:
- guess density
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82d/rawfile/699fd37203f792bf37b5300a0599d903f78e3aba/Clancy_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
