function[med]=media(a) med=sum(a)/length(a);