function [ sum_sport ] = create_sport( dt, lengTime, num, type, sport_start, sport_stop )

sum_sport=zeros(1, lengTime);

for i=1:num
sport=zeros(1, lengTime);

start = (sport_start(i)/dt);
stop = (sport_stop(i)/dt);
func_sport = select_sport( type(i), (stop-start) );


sport( start : (stop-1) )=func_sport;

sum_sport = sum_sport(1:lengTime) + sport(1:lengTime);

end

end

