Location: cellLib @ 7b86ecca6334 / BG_fit / square_error.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2023-03-07 16:36:17+13:00
Desc:
solve the ss of enzyme cycles- hard coded
Permanent Source URI:
https://models.physiomeproject.org/workspace/6bc/rawfile/7b86ecca6334bddd7170deef1a085546dd42c5ce/BG_fit/square_error.m

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