Location: BG_Ks @ 3d6a19e2c798 / parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-02-24 15:28:33+13:00
Desc:
reorganise modules
Permanent Source URI:
https://models.physiomeproject.org/workspace/82d/rawfile/3d6a19e2c7989fd9b645147792977ebf4a566266/parameter_fitting/square_error.m

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