Location: BG_Ks @ 9d0bac38f32f / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-03 09:36:39+13:00
Desc:
Changing Xi to X_i, and adding python param finder code
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82d/rawfile/9d0bac38f32f96494587904e6f6eb66283125565/matlab_parameter_fitting/square_error.m

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