Location: BG_TCC @ bc202e51bde6 / Clancy_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2022-07-06 16:26:28+12:00
Desc:
Updating to LRd 34.4 pL cell parameters
Permanent Source URI:
https://models.fieldml.org/workspace/831/rawfile/bc202e51bde6be8ddf88d35d908ef1465dcf067d/Clancy_matlab_parameter_fitting/square_error.m

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