Predicting Mortality of ICU Patients: The PhysioNet/Computing in Cardiology Challenge 2012 1.0.0
(450 bytes)
function [ret_times,ret_values,ret_names]=get_param_subset(use_params,times,values,names)
ret_times={};
ret_values={};
ret_names={};
ret_idx=1;
for par_idx=1:size(use_params,1)
found_= strcmp(names,use_params(par_idx));
if max(found_)==1
ret_times{ret_idx}=times{found_};
ret_values{ret_idx}=values{found_};
ret_names{ret_idx}=names{found_};
ret_idx=ret_idx+1;
end
end
end