Location: BG_Kp @ 32a75a669f04 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-12-13 14:27:44+13:00
Desc:
Updating params to match LRd cell vol
Permanent Source URI:
https://staging.physiomeproject.org/workspace/825/rawfile/32a75a669f04d1a67dc6a8465761d9fdd2844458/matlab_parameter_fitting/square_error.m

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