function plotdata(x, Y) figure; plot(x, Y, 'rx', 'MarkerSize', 10); % rx means red coloured x. ylabel('Profit in $10,000s'); xlabel('Population of city in 10,000s'); end
© The Algorithms 2023