Location: BG_TCC @ 1be12bb694fe / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-14 14:59:25+13:00
Desc:
Adding z to Vnorm in param_finding calculations, and updating parameters
Permanent Source URI:
https://models.cellml.org/workspace/831/rawfile/1be12bb694fe0367462fc4827b5411dc9f7e96f7/matlab_parameter_fitting/square_error.m

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