Location: BG_Kr @ 91d6314c2a76 / Knk_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-06 14:12:33+13:00
Desc:
Fixing link
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82c/rawfile/91d6314c2a76be17a27b1d4acbdf449a87cc9bfa/Knk_matlab_parameter_fitting/square_error.m

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