function y = misura_con_rumore(x, c1, c2, r) y = c1 + c2 * x ; rumore = rand(size(x)) - .5 ; y = y + r * rumore .* y ; end