Location: BG_Kr @ 73d6bc1016ed / BG_fit_parameters_CC / calcT.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-03 09:58:16+13:00
Desc:
Changing Xi to X_i, and adding python param finder code
Permanent Source URI:
https://models.physiomeproject.org/workspace/82c/rawfile/73d6bc1016edb1be3ceadf6cccc4aa05ef251e58/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