Location: BG_to_channel @ 2a9668dd47ad / parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-02-25 10:48:50+13:00
Desc:
Init
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82e/rawfile/2a9668dd47add7475044ae64a79c369cb7907560/parameter_fitting/square_error.m

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