Location: BG_to_channel @ 2234e23fec53 / Kernik_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-06 14:16:43+13:00
Desc:
Adding sedml and exposure files
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82e/rawfile/2234e23fec53c1a450f11f044772e87606da91f2/Kernik_matlab_parameter_fitting/square_error.m

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