Location: BG_Kr @ 62eafa5e752d / matlab_parameter_finding / calcT.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-01 10:07:15+13:00
Desc:
With new densities found from fitting Pan - K + Kr + Ks to Viswanathan data
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82c/rawfile/62eafa5e752d7f66ffdef2c20c88da690e2cc29c/matlab_parameter_finding/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