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

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-02 16:51:02+13:00
Desc:
Rename matlab file
Permanent Source URI:
https://models.physiomeproject.org/workspace/82a/rawfile/0f5901e4511ecb71ada0358fc70cd2b668d4ba08/matlab_parameter_fitting/square_error.m

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