Location: BG_Kr @ e95514b3ab1f / matlab_parameter_finding / calcT.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-01 13:56:25+13:00
- Desc:
- With new densities found from fitting Pan - K + Kr to Clancy model
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82c/rawfile/e95514b3ab1f0bb93bd69dff14346e3e15668e1f/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
