Location: BG_TCC @ 6c638d54d35c / Kernik_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-06 10:39:30+13:00
Desc:
Adding sedml file
Permanent Source URI:
https://models.physiomeproject.org/workspace/831/rawfile/6c638d54d35c88494878bff64606f4eeb06004ce/Kernik_matlab_parameter_fitting/square_error.m

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