Location: BG_CaB @ 985309950c8a / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-27 09:38:38+12:00
Desc:
Removing channel density
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82a/rawfile/985309950c8a92758d7e12a179551b44d2697e3f/matlab_parameter_fitting/square_error.m

function result = square_error(vector)
    if ~iscolumn(vector)
        vector = transpose(vector);
    end
    result = transpose(vector)*vector;
end