Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13 14
clear; T = zeros(10000,1); T1 = true(10000,1); T1(1:5000) = false; T3 = false(10000,1); %profile on tic T2 = T|T1; toc T3(1:500)=T(1:500)|T1(1:500); toc %profile viewer