Location: BG_K_ATP @ 444f190fc687 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-22 15:47:38+13:00
Desc:
Updating channel density to literature single channel value divided by clancy whole cell conductance (Babenko)
Permanent Source URI:
https://models.physiomeproject.org/workspace/83a/rawfile/444f190fc687e20996d5553dd2e568102bdaaa3a/matlab_parameter_fitting/square_error.m

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