Location: BG_funny @ c20174a90e3a / Kernik_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-06 10:50:02+13:00
Desc:
Adding exposure files
Permanent Source URI:
https://staging.physiomeproject.org/workspace/838/rawfile/c20174a90e3ac20bbc098f1c3affa14ab3a61e7d/Kernik_matlab_parameter_fitting/square_error.m

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