function [output1, output2] = probability(input1, input2)

T = 10;

output1 = zeros(1,T); % initialization
for i=1:T
    output1(i) = input1+i; % some code
end 

output2 = 2*input2;

end