% complessita' computazionale dell'algoritmo di Strassen a = rand(16); b = rand(16); t = cputime; strass(a,b,1); t1 = cputime - t a = rand(32); b = rand(32); t = cputime; strass(a,b,1); t2 = cputime -t % dovrebbe essere circa 7 volte t1 t2/t1 log(t2/t1)/log(2) % dovrebbe essere circa il logaritmo di 7 in base di 2 = 2.8074