Location: BG_fast_Na @ 6009376ce887 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-12-16 11:04:26+13:00
Desc:
Updating vols with LRd values and updating parameters
Permanent Source URI:
https://staging.physiomeproject.org/workspace/826/rawfile/6009376ce88716ae8a6b7a43f6b5d8a597f09792/matlab_parameter_fitting/square_error.m

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