function y = create_linear_data(x) m = 2.5; n = -0.35; d = 2.5; y = x .* m + n + randn(size(x)) .* d;