Location: BG_funny @ 0a18112eecfe / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-14 16:34:44+13:00
Desc:
Changing Cm to be equal to Pan value, which is physiological. Not Clancy01 value
Permanent Source URI:
https://staging.physiomeproject.org/workspace/838/rawfile/0a18112eecfede8e5561341f17cefede61327dcf/matlab_parameter_fitting/square_error.m

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