Location: BG_Kr @ ae54ed237584 / BG_fit_parameters_CC / calcT.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-02-28 15:10:27+13:00
Desc:
Fix equation finding K Kappa and update parameters
Permanent Source URI:
http://models.cellml.org/workspace/82c/rawfile/ae54ed237584007ec1fb64b38d528cf2476c0869/BG_fit_parameters_CC/calcT.m

function T = calcT(I_vec,num_rows)
num_cols = length(I_vec);
T = zeros(num_rows,num_cols);
for i = 1:num_cols
    T(I_vec(i),i) = 1;
end
end