Location: BG_K_ATP @ 2486d4f8ecc2 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-06 13:48:55+13:00
Desc:
Adding sedml and exposure files
Permanent Source URI:
https://models.physiomeproject.org/workspace/83a/rawfile/2486d4f8ecc2e433682a321dbd9ead857b9c26d5/matlab_parameter_fitting/square_error.m

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