# Collect statistics on svds failure num_tests = 100; passed = 0; for i = 1:num_tests r = test("svds"); passed += r; endfor printf("\n--------------------------\n"); printf("Percentage passed: %.0f\n", 100*passed/num_tests);