Location: BG_TCC @ 07c400a1d194 / Clancy_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-26 14:25:31+12:00
Desc:
With Cm of 60 pF and adding zCa term in Am calculation
Permanent Source URI:
https://models.cellml.org/workspace/831/rawfile/07c400a1d1946f3e7bc5009a3d706828e534176c/Clancy_matlab_parameter_fitting/square_error.m

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