Location: BG_Na_background @ 5daea4ab3bc8 / matlab_parameter_fitting / square_error.m

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

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