Location: BG_CaB @ a1e708c36028 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-07 14:40:02+13:00
Desc:
Rename q_mem contribution
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82a/rawfile/a1e708c36028fc21625fa048aee7de6419383004/matlab_parameter_fitting/square_error.m

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