Location: BG_CaB @ eac8b4671db5 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-12-13 12:31:35+13:00
Desc:
Updating params to match LRd cell vol
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82a/rawfile/eac8b4671db5966c848aad5192fe4eeb5a6ada24/matlab_parameter_fitting/square_error.m

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