Location: BG_TCC @ 9050accc29fb / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-22 14:00:03+13:00
Desc:
Updating TCC channel density to literature value (Droogmans 1989)
Permanent Source URI:
https://models.fieldml.org/workspace/831/rawfile/9050accc29fbf95de010da3d2a5cfba7e9719a2e/matlab_parameter_fitting/square_error.m

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