Location: BG_Na_background @ f2f17d82a554 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-14 16:02:49+13:00
Desc:
Changing Cm to be equal to Pan value, which is physiological. Not Clancy01 value
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82b/rawfile/f2f17d82a554f13b632e0f0a7b2d3fdac65f0916/matlab_parameter_fitting/square_error.m

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