Location: BG_CaB @ 0b9e02d9174a / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-14 14:55:22+13:00
Desc:
Adding z to Vnorm in param_finding calculations, and updating parameters
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82a/rawfile/0b9e02d9174a6ef7d83b8f8a91a13db068b92a5b/matlab_parameter_fitting/square_error.m

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