function ruido=buscaruido(X) %Devuelve el nivel medio de ruido. inicio=1; iew=length(X); ruido=0; i=0; while (inicio0 ruido=abs(ruido/i); end