Location: BG_Kr @ 5924e927ac44 / matlab_parameter_finding / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-14 16:10:20+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/82c/rawfile/5924e927ac442b6ef855531b3630c61d3f0d4f7e/matlab_parameter_finding/square_error.m

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