Location: BG_K_ATP @ d538df33e416 / matlab_parameter_fitting / square_error.m

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

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