Location: BG_Ks @ 804dcdaf34a6 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-08 11:55:37+13:00
Desc:
Remove vol_o
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82d/rawfile/804dcdaf34a67259f0c3b893adc6826539f700a1/matlab_parameter_fitting/square_error.m

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