Location: BG_CaB @ de72090c4760 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-09-05 12:30:37+12:00
Desc:
Adding zFV term to Af
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82a/rawfile/de72090c476049719335e14dc196230e455b4896/matlab_parameter_fitting/square_error.m

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