% M-file = tomato.m

%

% A market gardener wishes to investigate the relationship

%         between the total weight of tomatoes produced by 

%         a tomato plant and the amount of fertilizer used.

% Here x is the amount of fertilizer (in gms) applied to a plant 

%  and y is the total weight of tomatoes produced (in kgs).

%



fprintf('  tomato.m - vectors x and y loaded ...\n')

x=[2 6 4 8 12 10 18 0 16 14]';

y=[4.70 4.84 5.02 5.38 5.47 5.61 5.95 4.01 5.90 5.80]';

