Location: BG_Ks @ 03a3abf96a53 / Clancy_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-06 08:44:04+12:00
- Desc:
- Change channel density to match Kernik
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82d/rawfile/03a3abf96a53ab4176828bc191edfb058ecdbd80/Clancy_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
