Location: BG_CaL @ 693ba65f6d24 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-05 14:25:08+13:00
Desc:
Adding link to protein knowledge
Permanent Source URI:
https://staging.physiomeproject.org/workspace/6d7/rawfile/693ba65f6d240a9dae6d01a30b125a86c0542d72/matlab_parameter_fitting/square_error.m

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