Location: BG_CaB @ e25c9b3c0a04 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-05 11:22:40+13:00
Desc:
Adding exposure files
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82a/rawfile/e25c9b3c0a04c7b5325187f31dc20cd5f474da0b/matlab_parameter_fitting/square_error.m

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