Location: BG_TCC @ 82bf33179511 / matlab_parameter_fitting / square_error.m

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

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