Location: BG_LCC_diadic @ 3b58efb1f452 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2022-06-03 11:31:35+12:00
Desc:
Change name of V_di
Permanent Source URI:
https://staging.physiomeproject.org/workspace/891/rawfile/3b58efb1f452d11b3fb8d105e9b1cb48b4e39cda/matlab_parameter_fitting/square_error.m

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