Location: BG_Na_background @ c25ea77c585c / matlab_parameter_fitting / square_error.m

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

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