Location: BG_funny @ 7253f3ad1bea / Clancy01_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-12-13 14:19:08+13:00
Desc:
Updating params to match LRd cell vol
Permanent Source URI:
https://staging.physiomeproject.org/workspace/838/rawfile/7253f3ad1bea5077430a219a92f3b191ae3e4aa0/Clancy01_matlab_parameter_fitting/square_error.m

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