Location: BG_CaB @ f502bae1538d / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-05 14:28:53+12:00
Desc:
Change channel density to match Kernik
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82a/rawfile/f502bae1538dfe3306a4f68546723e3803b805be/matlab_parameter_fitting/square_error.m

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