Location: BG_Ks @ 245c38b8f35d / Clancy_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-06 14:06:55+13:00
Desc:
Adding exposure files
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82d/rawfile/245c38b8f35d0821cbbb0e328da330b1aa5ac8a2/Clancy_matlab_parameter_fitting/square_error.m

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