Location: BG_Kp @ 2050d41a7715 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-06 13:56:57+13:00
Desc:
Adding sedml and exposure files
Permanent Source URI:
https://staging.physiomeproject.org/workspace/825/rawfile/2050d41a7715297944f564c9791126261790da34/matlab_parameter_fitting/square_error.m

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