Location: BG_Kr @ cad6f96238c1 / Knk_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-06 14:02:09+13:00
Desc:
Adding exposure files
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82c/rawfile/cad6f96238c195b27cd235c55dc63d6fd88deed5/Knk_matlab_parameter_fitting/square_error.m

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