Location: BG_to_channel @ f83b1625ff60 / Clancy_matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-06 11:46:47+12:00
- Desc:
- trying to match channel density to Kernik19
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82e/rawfile/f83b1625ff6075bda17d94b3e4173954cf1144d2/Clancy_matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
