Location: BG_Kr @ 6b413e6789e3 / BG_fit_parameters_CC / calcT.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-02-24 16:37:43+13:00
Desc:
reorganising moduleS
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82c/rawfile/6b413e6789e3895511c62527545b963ef7fae27a/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