Location: BG_An01 @ 22d608816a96 / parameter_finder / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2025-07-21 11:14:28+12:00
Desc:
Updating qmem and Cm and Vmem
Permanent Source URI:
https://staging.physiomeproject.org/workspace/d51/rawfile/22d608816a964df06c3e37fd1fc9db3910986ab5/parameter_finder/square_error.m

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